MeshLib C# Docs
Loading...
Searching...
No Matches
MR.PolylineSubdivideSettings Class Reference

Generated from class MR.PolylineSubdivideSettings. This is the non-const half of the class. More...

+ Inheritance diagram for MR.PolylineSubdivideSettings:

Public Member Functions

unsafe PolylineSubdivideSettings ()
 Constructs an empty (default-constructed) instance.
 
unsafe 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)
 Constructs MR.PolylineSubdivideSettings elementwise.
 
unsafe PolylineSubdivideSettings (MR._ByValue_PolylineSubdivideSettings _other)
 Generated from constructor MR.PolylineSubdivideSettings.PolylineSubdivideSettings.
 
 PolylineSubdivideSettings (Const_PolylineSubdivideSettings _other)
 Generated from constructor MR.PolylineSubdivideSettings.PolylineSubdivideSettings.
 
 PolylineSubdivideSettings (PolylineSubdivideSettings _other)
 Generated from constructor MR.PolylineSubdivideSettings.PolylineSubdivideSettings.
 
unsafe MR.PolylineSubdivideSettings assign (MR._ByValue_PolylineSubdivideSettings _other)
 Generated from method MR.PolylineSubdivideSettings.operator=.
 

Properties

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
 

Detailed Description

Generated from class MR.PolylineSubdivideSettings. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ 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

Constructs MR.PolylineSubdivideSettings elementwise.

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

MR.PolylineSubdivideSettings.PolylineSubdivideSettings ( PolylineSubdivideSettings _other)
inline

Generated from constructor MR.PolylineSubdivideSettings.PolylineSubdivideSettings.

Member Function Documentation

◆ assign()

unsafe MR.PolylineSubdivideSettings MR.PolylineSubdivideSettings.assign ( MR._ByValue_PolylineSubdivideSettings _other)
inline

Generated from method MR.PolylineSubdivideSettings.operator=.

Property Documentation

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