MeshLib
 
Loading...
Searching...
No Matches
MR::PolylineMaker Struct Reference

simplifies construction of connected polyline in the topology More...

#include <MRPolylineTopology.h>

Public Member Functions

 PolylineMaker (PolylineTopology &t)
 
EdgeId start (VertId v)
 
EdgeId proceed (VertId v)
 
void close ()
 closes the polyline
 
void finishOpen (VertId v)
 finishes the polyline adding final vertex in it
 

Public Attributes

PolylineTopologytopology
 

Detailed Description

simplifies construction of connected polyline in the topology

Constructor & Destructor Documentation

◆ PolylineMaker()

MR::PolylineMaker::PolylineMaker ( PolylineTopology & t)
inline

Member Function Documentation

◆ close()

void MR::PolylineMaker::close ( )
inline

closes the polyline

◆ finishOpen()

void MR::PolylineMaker::finishOpen ( VertId v)
inline

finishes the polyline adding final vertex in it

◆ proceed()

EdgeId MR::PolylineMaker::proceed ( VertId v)
inline

makes next edge of polyline

Parameters
vnext vertex of the polyline

◆ start()

EdgeId MR::PolylineMaker::start ( VertId v)
inline

creates first edge of polyline

Parameters
vfirst vertex of the polyline

Member Data Documentation

◆ topology

PolylineTopology& MR::PolylineMaker::topology

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