MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::EdgeSegmentT< T > Struct Template Reference

Represents a segment on one edge. More...

#include <MRMesh/MREdgePoint.h>

Public Member Functions

 EdgeSegmentT ()=default
 EdgeSegmentT (EdgeId e, T a=0, T b=1)
EdgePointT< T > edgePointA () const
 returns starting EdgePoint
EdgePointT< T > 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 EdgeSegmentT &rhs) const =default
EdgeSegmentT sym () const
 represents the same segment relative to sym edge in

Public Attributes

EdgeId e
 id of the edge
SegmPoint< T > a { 0 }
 start of the segment
SegmPoint< T > b { 1 }
 end of the segment

Detailed Description

template<typename T>
struct MR::EdgeSegmentT< T >

Represents a segment on one edge.


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