MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / PolygonSegment

Class PolygonSegment

include/Core/Transform/Polygon.hpp:43–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 };
42
43 class PolygonSegment
44 {
45 public:
46 const PolygonPoint& first;
47 const PolygonPoint& second;
48 [[nodiscard]] double getAngle() const;
49 [[nodiscard]] double getLength() const;
50 PolygonSegment(const PolygonPoint& first, const PolygonPoint& second);
51 };
52
53 using PolygonPath = std::vector<std::unique_ptr<PolygonPoint>>;
54

Callers 1

getSegmentMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected