MeshLib Documentation
Loading...
Searching...
No Matches
MR::EdgeSegment Struct Reference

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
 
EdgePoint edgePointB () const
 
bool valid () const
 

Public Attributes

EdgeId e
 
SegmPointf a { 0.0f }
 
SegmPointf b { 1.0f }
 

Detailed Description

Represents a segment on one edge.

Constructor & Destructor Documentation

◆ EdgeSegment() [1/2]

MR::EdgeSegment::EdgeSegment ( )
nodiscarddefault

◆ EdgeSegment() [2/2]

MR::EdgeSegment::EdgeSegment ( EdgeId e,
float a = 0.0f,
float b = 1.0f )
inlinenodiscard

Member Function Documentation

◆ edgePointA()

EdgePoint MR::EdgeSegment::edgePointA ( ) const
inlinenodiscard

◆ edgePointB()

EdgePoint MR::EdgeSegment::edgePointB ( ) const
inlinenodiscard

◆ valid()

bool MR::EdgeSegment::valid ( ) const
inlinenodiscard

Member Data Documentation

◆ a

SegmPointf MR::EdgeSegment::a { 0.0f }

◆ b

SegmPointf MR::EdgeSegment::b { 1.0f }

◆ e

EdgeId MR::EdgeSegment::e

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