MeshLib C# Docs
Loading...
Searching...
No Matches

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

Inheritance diagram for MR.Const_PolylineSubdivideSettings:

Classes

struct  _Underlying

Public Member Functions

virtual void Dispose ()
unsafe Const_PolylineSubdivideSettings ()
 Constructs an empty (default-constructed) instance.
unsafe Const_PolylineSubdivideSettings (float maxEdgeLen, int maxEdgeSplits, MR.VertBitSet? region, MR.VertBitSet? newVerts, bool useCurvature, MR.Std._ByValue_Function_Void_From_MRVertId onVertCreated, MR.Std._ByValue_Function_Void_From_MREdgeId_MREdgeId onEdgeSplit, MR.Std._ByValue_Function_Bool_From_Float progressCallback)
 Constructs MR.PolylineSubdivideSettings elementwise.
unsafe Const_PolylineSubdivideSettings (MR._ByValue_PolylineSubdivideSettings _other)
 Generated from constructor MR.PolylineSubdivideSettings.PolylineSubdivideSettings.
 Const_PolylineSubdivideSettings (Const_PolylineSubdivideSettings _other)
 Generated from constructor MR.PolylineSubdivideSettings.PolylineSubdivideSettings.
 Const_PolylineSubdivideSettings (PolylineSubdivideSettings _other)
 Generated from constructor MR.PolylineSubdivideSettings.PolylineSubdivideSettings.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe float * __ref_storage_maxEdgeLen
unsafe int * __ref_storage_maxEdgeSplits
unsafe MR.VertBitSet._Underlying ** __ptr_storage_region
unsafe MR.VertBitSet._Underlying ** __ptr_storage_newVerts
unsafe bool * __ref_storage_useCurvature

Properties

unsafe float maxEdgeLen [get]
 Subdivision is stopped when all edges are not longer than this value.
unsafe int maxEdgeSplits [get]
 Maximum number of edge splits allowed.
unsafe MR.? VertBitSet region [get]
 Region on polyline to be subdivided: both edge vertices must be there to allow spitting, it is updated during the operation.
unsafe MR.? VertBitSet newVerts [get]
 New vertices appeared during subdivision will be added here.
unsafe bool useCurvature [get]
 This option works best for natural lines, where all segments have similar size, and no sharp angles in between.
unsafe MR.Std.Const_Function_Void_From_MRVertId onVertCreated [get, protected set]
 this function is called each time a new vertex has been created
unsafe MR.Std.Const_Function_Void_From_MREdgeId_MREdgeId onEdgeSplit [get, protected set]
 this function is called each time edge (e) is split into (e1->e)
unsafe MR.Std.Const_Function_Bool_From_Float 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 const half of the class.

Constructor & Destructor Documentation

◆ Const_PolylineSubdivideSettings() [1/5]

unsafe MR.Const_PolylineSubdivideSettings.Const_PolylineSubdivideSettings ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_PolylineSubdivideSettings() [2/5]

unsafe MR.Const_PolylineSubdivideSettings.Const_PolylineSubdivideSettings ( float maxEdgeLen,
int maxEdgeSplits,
MR.VertBitSet? region,
MR.VertBitSet? newVerts,
bool useCurvature,
MR.Std._ByValue_Function_Void_From_MRVertId onVertCreated,
MR.Std._ByValue_Function_Void_From_MREdgeId_MREdgeId onEdgeSplit,
MR.Std._ByValue_Function_Bool_From_Float progressCallback )
inline

Constructs MR.PolylineSubdivideSettings elementwise.

◆ Const_PolylineSubdivideSettings() [3/5]

unsafe MR.Const_PolylineSubdivideSettings.Const_PolylineSubdivideSettings ( MR._ByValue_PolylineSubdivideSettings _other)
inline

◆ Const_PolylineSubdivideSettings() [4/5]

MR.Const_PolylineSubdivideSettings.Const_PolylineSubdivideSettings ( Const_PolylineSubdivideSettings _other)
inline

◆ Const_PolylineSubdivideSettings() [5/5]

MR.Const_PolylineSubdivideSettings.Const_PolylineSubdivideSettings ( PolylineSubdivideSettings _other)
inline

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_PolylineSubdivideSettings.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

virtual unsafe void MR.Const_PolylineSubdivideSettings.Dispose ( bool disposing)
inlineprotectedvirtual

Member Data Documentation

◆ __ptr_storage_newVerts

unsafe MR.VertBitSet._Underlying** MR.Const_PolylineSubdivideSettings.__ptr_storage_newVerts
protected

◆ __ptr_storage_region

unsafe MR.VertBitSet._Underlying** MR.Const_PolylineSubdivideSettings.__ptr_storage_region
protected

◆ __ref_storage_maxEdgeLen

unsafe float* MR.Const_PolylineSubdivideSettings.__ref_storage_maxEdgeLen
protected

◆ __ref_storage_maxEdgeSplits

unsafe int* MR.Const_PolylineSubdivideSettings.__ref_storage_maxEdgeSplits
protected

◆ __ref_storage_useCurvature

unsafe bool* MR.Const_PolylineSubdivideSettings.__ref_storage_useCurvature
protected

Property Documentation

◆ maxEdgeLen

unsafe float MR.Const_PolylineSubdivideSettings.maxEdgeLen
get

Subdivision is stopped when all edges are not longer than this value.

◆ maxEdgeSplits

unsafe int MR.Const_PolylineSubdivideSettings.maxEdgeSplits
get

Maximum number of edge splits allowed.

◆ newVerts

unsafe MR.? VertBitSet MR.Const_PolylineSubdivideSettings.newVerts
get

New vertices appeared during subdivision will be added here.

◆ onEdgeSplit

unsafe MR.Std.Const_Function_Void_From_MREdgeId_MREdgeId MR.Const_PolylineSubdivideSettings.onEdgeSplit
getprotected set

this function is called each time edge (e) is split into (e1->e)

◆ onVertCreated

unsafe MR.Std.Const_Function_Void_From_MRVertId MR.Const_PolylineSubdivideSettings.onVertCreated
getprotected set

this function is called each time a new vertex has been created

◆ progressCallback

unsafe MR.Std.Const_Function_Bool_From_Float MR.Const_PolylineSubdivideSettings.progressCallback
getprotected set

callback to report algorithm progress and cancel it by user request

◆ region

unsafe MR.? VertBitSet MR.Const_PolylineSubdivideSettings.region
get

Region on polyline to be subdivided: both edge vertices must be there to allow spitting, it is updated during the operation.

◆ useCurvature

unsafe bool MR.Const_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: