Generated from class MR.PolylineSubdivideSettings. This is the non-const half of the class.
More...
|
| new unsafe ref float | maxEdgeLen [get] |
| | Subdivision is stopped when all edges are not longer than this value.
|
| |
| new unsafe ref int | maxEdgeSplits [get] |
| | Maximum number of edge splits allowed.
|
| |
| new unsafe MR.? VertBitSet | region [get, set] |
| |
| new unsafe MR.? VertBitSet | newVerts [get, set] |
| | New vertices appeared during subdivision will be added here.
|
| |
| new unsafe ref bool | useCurvature [get] |
| |
| new unsafe MR.Std.Function_VoidFuncFromMRVertId | onVertCreated [get, protected set] |
| | this function is called each time a new vertex has been created
|
| |
| new unsafe MR.Std.Function_VoidFuncFromMREdgeIdMREdgeId | onEdgeSplit [get, protected set] |
| | this function is called each time edge (e) is split into (e1->e)
|
| |
| new unsafe MR.Std.Function_BoolFuncFromFloat | progressCallback [get, protected set] |
| | callback to report algorithm progress and cancel it by user request
|
| |
Generated from class MR.PolylineSubdivideSettings. This is the non-const half of the class.
◆ PolylineSubdivideSettings() [1/5]
| unsafe MR.PolylineSubdivideSettings.PolylineSubdivideSettings |
( |
| ) |
|
|
inline |
Constructs an empty (default-constructed) instance.
◆ PolylineSubdivideSettings() [2/5]
| unsafe MR.PolylineSubdivideSettings.PolylineSubdivideSettings |
( |
float | maxEdgeLen, |
|
|
int | maxEdgeSplits, |
|
|
MR.VertBitSet? | region, |
|
|
MR.VertBitSet? | newVerts, |
|
|
bool | useCurvature, |
|
|
MR.Std._ByValue_Function_VoidFuncFromMRVertId | onVertCreated, |
|
|
MR.Std._ByValue_Function_VoidFuncFromMREdgeIdMREdgeId | onEdgeSplit, |
|
|
MR.Std._ByValue_Function_BoolFuncFromFloat | progressCallback ) |
|
inline |
◆ PolylineSubdivideSettings() [3/5]
| unsafe MR.PolylineSubdivideSettings.PolylineSubdivideSettings |
( |
MR._ByValue_PolylineSubdivideSettings | _other | ) |
|
|
inline |
Generated from constructor MR.PolylineSubdivideSettings.PolylineSubdivideSettings.
◆ PolylineSubdivideSettings() [4/5]
| MR.PolylineSubdivideSettings.PolylineSubdivideSettings |
( |
Const_PolylineSubdivideSettings | _other | ) |
|
|
inline |
Generated from constructor MR.PolylineSubdivideSettings.PolylineSubdivideSettings.
◆ PolylineSubdivideSettings() [5/5]
Generated from constructor MR.PolylineSubdivideSettings.PolylineSubdivideSettings.
◆ assign()
Generated from method MR.PolylineSubdivideSettings.operator=.
◆ maxEdgeLen
| new unsafe ref float MR.PolylineSubdivideSettings.maxEdgeLen |
|
get |
Subdivision is stopped when all edges are not longer than this value.
◆ maxEdgeSplits
| new unsafe ref int MR.PolylineSubdivideSettings.maxEdgeSplits |
|
get |
Maximum number of edge splits allowed.
◆ newVerts
| new unsafe MR.? VertBitSet MR.PolylineSubdivideSettings.newVerts |
|
getset |
New vertices appeared during subdivision will be added here.
◆ onEdgeSplit
| new unsafe MR.Std.Function_VoidFuncFromMREdgeIdMREdgeId MR.PolylineSubdivideSettings.onEdgeSplit |
|
getprotected set |
this function is called each time edge (e) is split into (e1->e)
◆ onVertCreated
| new unsafe MR.Std.Function_VoidFuncFromMRVertId MR.PolylineSubdivideSettings.onVertCreated |
|
getprotected set |
this function is called each time a new vertex has been created
◆ progressCallback
| new unsafe MR.Std.Function_BoolFuncFromFloat MR.PolylineSubdivideSettings.progressCallback |
|
getprotected set |
callback to report algorithm progress and cancel it by user request
◆ region
| new unsafe MR.? VertBitSet MR.PolylineSubdivideSettings.region |
|
getset |
Region on polyline to be subdivided: both edge vertices must be there to allow spitting, it is updated during the operation
◆ useCurvature
| new unsafe ref bool MR.PolylineSubdivideSettings.useCurvature |
|
get |
This option works best for natural lines, where all segments have similar size, and no sharp angles in between
The documentation for this class was generated from the following file: