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

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

Detailed Description

Generated from:  MR::PolylineSubdivideSettings

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ maxEdgeLen()

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

Reimplemented in mrmeshpy.PolylineSubdivideSettings, and mrmeshpy.PolylineSubdivideSettings.

◆ maxEdgeSplits()

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

Reimplemented in mrmeshpy.PolylineSubdivideSettings, and mrmeshpy.PolylineSubdivideSettings.

◆ newVerts()

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

Reimplemented in mrmeshpy.PolylineSubdivideSettings, and mrmeshpy.PolylineSubdivideSettings.

◆ onEdgeSplit()

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.

◆ onVertCreated()

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.

◆ progressCallback()

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.

◆ region()

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.

◆ useCurvature()

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.

Member Data Documentation

◆ _offsetof_maxEdgeLen

typing mrmeshpy.ConstPolylineSubdivideSettings._offsetof_maxEdgeLen = 0
staticprotected

◆ _offsetof_maxEdgeSplits

typing mrmeshpy.ConstPolylineSubdivideSettings._offsetof_maxEdgeSplits = 4
staticprotected

◆ _offsetof_newVerts

typing mrmeshpy.ConstPolylineSubdivideSettings._offsetof_newVerts = 16
staticprotected

◆ _offsetof_onEdgeSplit

typing mrmeshpy.ConstPolylineSubdivideSettings._offsetof_onEdgeSplit = 64
staticprotected

◆ _offsetof_onVertCreated

typing mrmeshpy.ConstPolylineSubdivideSettings._offsetof_onVertCreated = 32
staticprotected

◆ _offsetof_progressCallback

typing mrmeshpy.ConstPolylineSubdivideSettings._offsetof_progressCallback = 96
staticprotected

◆ _offsetof_region

typing mrmeshpy.ConstPolylineSubdivideSettings._offsetof_region = 8
staticprotected

◆ _offsetof_useCurvature

typing mrmeshpy.ConstPolylineSubdivideSettings._offsetof_useCurvature = 24
staticprotected

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