Represents a segment on one edge. More...
#include <MREdgePoint.h>
Public Member Functions | |
| EdgeSegment ()=default | |
| EdgeSegment (EdgeId e, float a=0.0f, float b=1.0f) | |
| EdgePoint | edgePointA () const |
| returns starting EdgePoint | |
| EdgePoint | edgePointB () const |
| returns ending EdgePoint | |
| bool | valid () const |
| returns true if the edge is valid and start point is less than end point | |
| bool | operator== (const EdgeSegment &rhs) const =default |
| EdgeSegment | sym () const |
| represents the same segment relative to sym edge in | |
Public Attributes | |
| EdgeId | e |
| id of the edge | |
| SegmPointf | a { 0.0f } |
| start of the segment | |
| SegmPointf | b { 1.0f } |
| end of the segment | |
Represents a segment on one edge.
|
nodiscarddefault |
|
inlinenodiscard |
|
default |
|
inlinenodiscard |
represents the same segment relative to sym edge in
|
inlinenodiscard |
returns true if the edge is valid and start point is less than end point
| SegmPointf MR::EdgeSegment::a { 0.0f } |
start of the segment
| SegmPointf MR::EdgeSegment::b { 1.0f } |
end of the segment
| EdgeId MR::EdgeSegment::e |
id of the edge