MeshLib C++ Docs
Loading...
Searching...
No Matches

Represents a segment on one edge. More...

#include <MRMesh/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

Detailed Description

Represents a segment on one edge.


The documentation for this struct was generated from the following file: