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

Public Member Functions

None __init__ (self)
 
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)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
PolylineSubdivideSettings operator (*args, **kwargs)
 
PolylineSubdivideSettings operator (*args, **kwargs)
 

Static Protected Attributes

typing _offsetof_maxEdgeLen = 0
 
typing _offsetof_maxEdgeSplits = 4
 
typing _offsetof_newVerts = 16
 
typing _offsetof_onEdgeSplit = 96
 
typing _offsetof_onVertCreated = 32
 
typing _offsetof_progressCallback = 160
 
typing _offsetof_region = 8
 
typing _offsetof_useCurvature = 24
 

Detailed Description

Generated from:  MR::PolylineSubdivideSettings

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

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

None mrmeshpy.PolylineSubdivideSettings.__init__ ( self)

◆ __init__() [3/3]

None 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 mrmeshpy.PolylineSubdivideSettings.maxEdgeLen ( self)
Subdivision is stopped when all edges are not longer than this value

◆ maxEdgeLen() [2/2]

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

◆ maxEdgeSplits() [1/2]

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

◆ maxEdgeSplits() [2/2]

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

◆ newVerts() [1/2]

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

◆ newVerts() [2/2]

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

◆ 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)

◆ onEdgeSplit() [2/2]

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

◆ onVertCreated() [1/2]

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

◆ onVertCreated() [2/2]

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

◆ operator() [1/2]

PolylineSubdivideSettings mrmeshpy.PolylineSubdivideSettings.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

PolylineSubdivideSettings mrmeshpy.PolylineSubdivideSettings.operator ( * args,
** kwargs )
static

◆ progressCallback() [1/2]

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

◆ progressCallback() [2/2]

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

◆ 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

◆ region() [2/2]

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

◆ 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

◆ useCurvature() [2/2]

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

Member Data Documentation

◆ _offsetof_maxEdgeLen

typing mrmeshpy.PolylineSubdivideSettings._offsetof_maxEdgeLen = 0
staticprotected

◆ _offsetof_maxEdgeSplits

typing mrmeshpy.PolylineSubdivideSettings._offsetof_maxEdgeSplits = 4
staticprotected

◆ _offsetof_newVerts

typing mrmeshpy.PolylineSubdivideSettings._offsetof_newVerts = 16
staticprotected

◆ _offsetof_onEdgeSplit

typing mrmeshpy.PolylineSubdivideSettings._offsetof_onEdgeSplit = 96
staticprotected

◆ _offsetof_onVertCreated

typing mrmeshpy.PolylineSubdivideSettings._offsetof_onVertCreated = 32
staticprotected

◆ _offsetof_progressCallback

typing mrmeshpy.PolylineSubdivideSettings._offsetof_progressCallback = 160
staticprotected

◆ _offsetof_region

typing mrmeshpy.PolylineSubdivideSettings._offsetof_region = 8
staticprotected

◆ _offsetof_useCurvature

typing mrmeshpy.PolylineSubdivideSettings._offsetof_useCurvature = 24
staticprotected

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