MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::GeodesicPath Struct Reference

#include <MRSurfacePath.h>

Public Member Functions

size_t numVertices () const
 

Public Attributes

MeshTriPoint start
 can be invalid, then the path starts in mids.front()
 
SurfacePath mids
 
MeshTriPoint end
 can be invalid, then the path ends in mids.back()
 

Detailed Description

in the most general form, geodesic path can start in any mesh location (MeshTriPoint), then pass triangles along straight lines, making turns on edges (MeshEdgePoint), and finish in any mesh location (MeshTriPoint)

Member Function Documentation

◆ numVertices()

size_t MR::GeodesicPath::numVertices ( ) const
inlinenodiscard

Member Data Documentation

◆ end

MeshTriPoint MR::GeodesicPath::end

can be invalid, then the path ends in mids.back()

◆ mids

SurfacePath MR::GeodesicPath::mids

◆ start

MeshTriPoint MR::GeodesicPath::start

can be invalid, then the path starts in mids.front()


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