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) |
Generated from: MR::PolylineSubdivideSettings \\defgroup PolylineSubdivideGroup Polyline Subdivide \\ingroup PolylineAlgorithmGroup \\{
None meshlib.mrmeshpy.PolylineSubdivideSettings.__init__ | ( | self | ) |
Implicit default constructor.
None meshlib.mrmeshpy.PolylineSubdivideSettings.__init__ | ( | self, | |
PolylineSubdivideSettings | arg0 ) |
Implicit copy constructor.
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.
float meshlib.mrmeshpy.PolylineSubdivideSettings.maxEdgeLen | ( | self | ) |
Subdivision is stopped when all edges are not longer than this value
None meshlib.mrmeshpy.PolylineSubdivideSettings.maxEdgeLen | ( | self, | |
float | arg1 ) |
int meshlib.mrmeshpy.PolylineSubdivideSettings.maxEdgeSplits | ( | self | ) |
Maximum number of edge splits allowed
None meshlib.mrmeshpy.PolylineSubdivideSettings.maxEdgeSplits | ( | self, | |
int | arg1 ) |
VertBitSet meshlib.mrmeshpy.PolylineSubdivideSettings.newVerts | ( | self | ) |
New vertices appeared during subdivision will be added here
None meshlib.mrmeshpy.PolylineSubdivideSettings.newVerts | ( | self, | |
VertBitSet | arg1 ) |
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)
None meshlib.mrmeshpy.PolylineSubdivideSettings.onEdgeSplit | ( | self, | |
func_void_from_Id_EdgeTag_Id_EdgeTag | arg1 ) |
func_void_from_Id_VertTag meshlib.mrmeshpy.PolylineSubdivideSettings.onVertCreated | ( | self | ) |
this function is called each time a new vertex has been created
None meshlib.mrmeshpy.PolylineSubdivideSettings.onVertCreated | ( | self, | |
func_void_from_Id_VertTag | arg1 ) |
func_bool_from_float meshlib.mrmeshpy.PolylineSubdivideSettings.progressCallback | ( | self | ) |
callback to report algorithm progress and cancel it by user request
None meshlib.mrmeshpy.PolylineSubdivideSettings.progressCallback | ( | self, | |
func_bool_from_float | arg1 ) |
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
None meshlib.mrmeshpy.PolylineSubdivideSettings.region | ( | self, | |
VertBitSet | arg1 ) |
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
None meshlib.mrmeshpy.PolylineSubdivideSettings.useCurvature | ( | self, | |
bool | arg1 ) |