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

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_VoidFuncFromMRVertId onVertCreated, MR.Std._ByValue_Function_VoidFuncFromMREdgeIdMREdgeId onEdgeSplit, MR.Std._ByValue_Function_BoolFuncFromFloat progressCallback)
 Constructs MR.PolylineSubdivideSettings elementwise.
 
unsafe Const_PolylineSubdivideSettings (MR._ByValue_PolylineSubdivideSettings _other)
 Generated from constructor MR.PolylineSubdivideSettings.PolylineSubdivideSettings.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

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]
 
unsafe MR.? VertBitSet newVerts [get]
 New vertices appeared during subdivision will be added here.
 
unsafe bool useCurvature [get]
 
unsafe MR.Std.Const_Function_VoidFuncFromMRVertId onVertCreated [get]
 this function is called each time a new vertex has been created
 
unsafe MR.Std.Const_Function_VoidFuncFromMREdgeIdMREdgeId onEdgeSplit [get]
 this function is called each time edge (e) is split into (e1->e)
 
unsafe MR.Std.Const_Function_BoolFuncFromFloat progressCallback [get]
 callback to report algorithm progress and cancel it by user request
 
- Properties inherited from MR.Misc.Object< Const_PolylineSubdivideSettings >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_PolylineSubdivideSettings >
bool _IsOwningVal
 

Detailed Description

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

Property Documentation

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