MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.PolylineSubdivideSettings Class Reference
Inheritance diagram for mrmeshpy.PolylineSubdivideSettings:

Public Member Functions

None __init__ (self)
None __init__ (self, ConstPolylineSubdivideSettings arg0)
None __init__ (self, float maxEdgeLen, int maxEdgeSplits, VertBitSet region, VertBitSet newVerts, bool useCurvature, Const_func_void_from_Id_VertTag onVertCreated, Const_func_void_from_Id_EdgeTag_Id_EdgeTag onEdgeSplit, Const_func_bool_from_float progressCallback)
PolylineSubdivideSettings assign (self, ConstPolylineSubdivideSettings other)
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, Const_func_void_from_Id_EdgeTag_Id_EdgeTag arg1)
func_void_from_Id_VertTag onVertCreated (self)
None onVertCreated (self, Const_func_void_from_Id_VertTag arg1)
func_bool_from_float progressCallback (self)
None progressCallback (self, Const_func_bool_from_float arg1)
VertBitSet region (self)
None region (self, VertBitSet arg1)
bool useCurvature (self)
None useCurvature (self, bool arg1)
Public Member Functions inherited from mrmeshpy.ConstPolylineSubdivideSettings
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstPolylineSubdivideSettings
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

Detailed Description

Generated from:  MR::PolylineSubdivideSettings

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.PolylineSubdivideSettings.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.PolylineSubdivideSettings.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

None mrmeshpy.PolylineSubdivideSettings.__init__ ( self,
float maxEdgeLen,
int maxEdgeSplits,
VertBitSet region,
VertBitSet newVerts,
bool useCurvature,
Const_func_void_from_Id_VertTag onVertCreated,
Const_func_void_from_Id_EdgeTag_Id_EdgeTag onEdgeSplit,
Const_func_bool_from_float progressCallback )
Implicit aggregate constructor.

Member Function Documentation

◆ assign()

PolylineSubdivideSettings mrmeshpy.PolylineSubdivideSettings.assign ( self,
ConstPolylineSubdivideSettings other )

◆ maxEdgeLen() [1/2]

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

Reimplemented from mrmeshpy.ConstPolylineSubdivideSettings.

◆ maxEdgeLen() [2/2]

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

Reimplemented from mrmeshpy.ConstPolylineSubdivideSettings.

◆ maxEdgeSplits() [1/2]

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

Reimplemented from mrmeshpy.ConstPolylineSubdivideSettings.

◆ maxEdgeSplits() [2/2]

None mrmeshpy.PolylineSubdivideSettings.maxEdgeSplits ( self,
int arg1 )
Maximum number of edge splits allowed

Reimplemented from mrmeshpy.ConstPolylineSubdivideSettings.

◆ newVerts() [1/2]

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

Reimplemented from mrmeshpy.ConstPolylineSubdivideSettings.

◆ newVerts() [2/2]

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

Reimplemented from mrmeshpy.ConstPolylineSubdivideSettings.

◆ onEdgeSplit() [1/2]

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

Reimplemented from mrmeshpy.ConstPolylineSubdivideSettings.

◆ onEdgeSplit() [2/2]

None mrmeshpy.PolylineSubdivideSettings.onEdgeSplit ( self,
Const_func_void_from_Id_EdgeTag_Id_EdgeTag arg1 )
this function is called each time edge (e) is split into (e1->e)

Reimplemented from mrmeshpy.ConstPolylineSubdivideSettings.

◆ onVertCreated() [1/2]

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

Reimplemented from mrmeshpy.ConstPolylineSubdivideSettings.

◆ onVertCreated() [2/2]

None mrmeshpy.PolylineSubdivideSettings.onVertCreated ( self,
Const_func_void_from_Id_VertTag arg1 )
this function is called each time a new vertex has been created

Reimplemented from mrmeshpy.ConstPolylineSubdivideSettings.

◆ progressCallback() [1/2]

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

Reimplemented from mrmeshpy.ConstPolylineSubdivideSettings.

◆ progressCallback() [2/2]

None mrmeshpy.PolylineSubdivideSettings.progressCallback ( self,
Const_func_bool_from_float arg1 )
callback to report algorithm progress and cancel it by user request

Reimplemented from mrmeshpy.ConstPolylineSubdivideSettings.

◆ region() [1/2]

VertBitSet 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

Reimplemented from mrmeshpy.ConstPolylineSubdivideSettings.

◆ region() [2/2]

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

Reimplemented from mrmeshpy.ConstPolylineSubdivideSettings.

◆ useCurvature() [1/2]

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

Reimplemented from mrmeshpy.ConstPolylineSubdivideSettings.

◆ useCurvature() [2/2]

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

Reimplemented from mrmeshpy.ConstPolylineSubdivideSettings.


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