Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| float | maxEdgeLen (self) |
| int | maxEdgeSplits (self) |
| VertBitSet | newVerts (self) |
| Const_func_void_from_Id_EdgeTag_Id_EdgeTag | onEdgeSplit (self) |
| Const_func_void_from_Id_VertTag | onVertCreated (self) |
| Const_func_bool_from_float | progressCallback (self) |
| VertBitSet | region (self) |
| bool | useCurvature (self) |
Static Protected Attributes | |
| typing | _offsetof_maxEdgeLen = 0 |
| typing | _offsetof_maxEdgeSplits = 4 |
| typing | _offsetof_newVerts = 16 |
| typing | _offsetof_onEdgeSplit = 64 |
| typing | _offsetof_onVertCreated = 32 |
| typing | _offsetof_progressCallback = 96 |
| typing | _offsetof_region = 8 |
| typing | _offsetof_useCurvature = 24 |
Generated from: MR::PolylineSubdivideSettings
| mrmeshpy.ConstPolylineSubdivideSettings.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstPolylineSubdivideSettings) -> None 2. __init__(self: meshlib.mrmeshpy.ConstPolylineSubdivideSettings, arg0: meshlib.mrmeshpy.ConstPolylineSubdivideSettings) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstPolylineSubdivideSettings, maxEdgeLen: float, maxEdgeSplits: int, region: meshlib.mrmeshpy.VertBitSet, newVerts: meshlib.mrmeshpy.VertBitSet, useCurvature: bool, onVertCreated: meshlib.mrmeshpy.Const_func_void_from_Id_VertTag, onEdgeSplit: meshlib.mrmeshpy.Const_func_void_from_Id_EdgeTag_Id_EdgeTag, progressCallback: meshlib.mrmeshpy.Const_func_bool_from_float) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstPolylineSubdivideSettings, : meshlib.mrmeshpy.ConstPolylineSubdivideSettings) -> None
| float mrmeshpy.ConstPolylineSubdivideSettings.maxEdgeLen | ( | self | ) |
Subdivision is stopped when all edges are not longer than this value
Reimplemented in mrmeshpy.PolylineSubdivideSettings, and mrmeshpy.PolylineSubdivideSettings.
| int mrmeshpy.ConstPolylineSubdivideSettings.maxEdgeSplits | ( | self | ) |
Maximum number of edge splits allowed
Reimplemented in mrmeshpy.PolylineSubdivideSettings, and mrmeshpy.PolylineSubdivideSettings.
| VertBitSet mrmeshpy.ConstPolylineSubdivideSettings.newVerts | ( | self | ) |
New vertices appeared during subdivision will be added here
Reimplemented in mrmeshpy.PolylineSubdivideSettings, and mrmeshpy.PolylineSubdivideSettings.
| Const_func_void_from_Id_EdgeTag_Id_EdgeTag mrmeshpy.ConstPolylineSubdivideSettings.onEdgeSplit | ( | self | ) |
this function is called each time edge (e) is split into (e1->e)
Reimplemented in mrmeshpy.PolylineSubdivideSettings, and mrmeshpy.PolylineSubdivideSettings.
| Const_func_void_from_Id_VertTag mrmeshpy.ConstPolylineSubdivideSettings.onVertCreated | ( | self | ) |
this function is called each time a new vertex has been created
Reimplemented in mrmeshpy.PolylineSubdivideSettings, and mrmeshpy.PolylineSubdivideSettings.
| Const_func_bool_from_float mrmeshpy.ConstPolylineSubdivideSettings.progressCallback | ( | self | ) |
callback to report algorithm progress and cancel it by user request
Reimplemented in mrmeshpy.PolylineSubdivideSettings, and mrmeshpy.PolylineSubdivideSettings.
| VertBitSet mrmeshpy.ConstPolylineSubdivideSettings.region | ( | self | ) |
Region on polyline to be subdivided: both edge vertices must be there to allow spitting, it is updated during the operation
Reimplemented in mrmeshpy.PolylineSubdivideSettings, and mrmeshpy.PolylineSubdivideSettings.
| bool mrmeshpy.ConstPolylineSubdivideSettings.useCurvature | ( | self | ) |
This option works best for natural lines, where all segments have similar size, and no sharp angles in between
Reimplemented in mrmeshpy.PolylineSubdivideSettings, and mrmeshpy.PolylineSubdivideSettings.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |