MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.PolylineSubdivideSettings Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, PolylineSubdivideSettings arg0)
 
None __init__ (self, float maxEdgeLen, int maxEdgeSplits, VertBitSet region, VertBitSet newVerts, bool useCurvature, func_void_from_Id_VertTag onVertCreated, func_void_from_Id_EdgeTag_Id_EdgeTag onEdgeSplit, func_bool_from_float progressCallback)
 
float maxEdgeLen (self)
 
None maxEdgeLen (self, float arg1)
 
int maxEdgeSplits (self)
 
None maxEdgeSplits (self, int arg1)
 
VertBitSet newVerts (self)
 
None newVerts (self, VertBitSet arg1)
 
func_void_from_Id_EdgeTag_Id_EdgeTag onEdgeSplit (self)
 
None onEdgeSplit (self, func_void_from_Id_EdgeTag_Id_EdgeTag arg1)
 
func_void_from_Id_VertTag onVertCreated (self)
 
None onVertCreated (self, func_void_from_Id_VertTag arg1)
 
func_bool_from_float progressCallback (self)
 
None progressCallback (self, func_bool_from_float arg1)
 
VertBitSet region (self)
 
None region (self, VertBitSet arg1)
 
bool useCurvature (self)
 
None useCurvature (self, bool arg1)
 

Detailed Description

Generated from:  MR::PolylineSubdivideSettings

\\defgroup PolylineSubdivideGroup Polyline Subdivide
\\ingroup PolylineAlgorithmGroup
\\{

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.PolylineSubdivideSettings.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

None meshlib.mrmeshpy.PolylineSubdivideSettings.__init__ ( self,
PolylineSubdivideSettings arg0 )
Implicit copy constructor.

◆ __init__() [3/3]

None meshlib.mrmeshpy.PolylineSubdivideSettings.__init__ ( self,
float maxEdgeLen,
int maxEdgeSplits,
VertBitSet region,
VertBitSet newVerts,
bool useCurvature,
func_void_from_Id_VertTag onVertCreated,
func_void_from_Id_EdgeTag_Id_EdgeTag onEdgeSplit,
func_bool_from_float progressCallback )
Implicit aggregate constructor.

Member Function Documentation

◆ maxEdgeLen() [1/2]

float meshlib.mrmeshpy.PolylineSubdivideSettings.maxEdgeLen ( self)
Subdivision is stopped when all edges are not longer than this value

◆ maxEdgeLen() [2/2]

None meshlib.mrmeshpy.PolylineSubdivideSettings.maxEdgeLen ( self,
float arg1 )

◆ maxEdgeSplits() [1/2]

int meshlib.mrmeshpy.PolylineSubdivideSettings.maxEdgeSplits ( self)
Maximum number of edge splits allowed

◆ maxEdgeSplits() [2/2]

None meshlib.mrmeshpy.PolylineSubdivideSettings.maxEdgeSplits ( self,
int arg1 )

◆ newVerts() [1/2]

VertBitSet meshlib.mrmeshpy.PolylineSubdivideSettings.newVerts ( self)
New vertices appeared during subdivision will be added here

◆ newVerts() [2/2]

None meshlib.mrmeshpy.PolylineSubdivideSettings.newVerts ( self,
VertBitSet arg1 )

◆ onEdgeSplit() [1/2]

func_void_from_Id_EdgeTag_Id_EdgeTag meshlib.mrmeshpy.PolylineSubdivideSettings.onEdgeSplit ( self)
this function is called each time edge (e) is split into (e1->e)

◆ onEdgeSplit() [2/2]

None meshlib.mrmeshpy.PolylineSubdivideSettings.onEdgeSplit ( self,
func_void_from_Id_EdgeTag_Id_EdgeTag arg1 )

◆ onVertCreated() [1/2]

func_void_from_Id_VertTag meshlib.mrmeshpy.PolylineSubdivideSettings.onVertCreated ( self)
this function is called each time a new vertex has been created

◆ onVertCreated() [2/2]

None meshlib.mrmeshpy.PolylineSubdivideSettings.onVertCreated ( self,
func_void_from_Id_VertTag arg1 )

◆ progressCallback() [1/2]

func_bool_from_float meshlib.mrmeshpy.PolylineSubdivideSettings.progressCallback ( self)
callback to report algorithm progress and cancel it by user request

◆ progressCallback() [2/2]

None meshlib.mrmeshpy.PolylineSubdivideSettings.progressCallback ( self,
func_bool_from_float arg1 )

◆ region() [1/2]

VertBitSet meshlib.mrmeshpy.PolylineSubdivideSettings.region ( self)
Region on polyline to be subdivided: both edge vertices must be there to allow spitting,
it is updated during the operation

◆ region() [2/2]

None meshlib.mrmeshpy.PolylineSubdivideSettings.region ( self,
VertBitSet arg1 )

◆ useCurvature() [1/2]

bool meshlib.mrmeshpy.PolylineSubdivideSettings.useCurvature ( self)
This option works best for natural lines, where all segments have similar size,
and no sharp angles in between

◆ useCurvature() [2/2]

None meshlib.mrmeshpy.PolylineSubdivideSettings.useCurvature ( self,
bool arg1 )

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