MeshLib C# Docs
Loading...
Searching...
No Matches
Inheritance diagram for MR.Const_FillHoleParams:

Classes

struct  _Underlying

Public Types

enum  MultipleEdgesResolveMode : int { None = 0 , Simple = 1 , Strong = 2 }
 If Strong makes additional efforts to avoid creating multiple edges, in some rare cases it is not possible (cases with extremely bad topology), if you faced one try to use MR.duplicateMultiHoleVertices before MR.fillHole If Simple avoid creating edges that already exist in topology (default) If None do not avoid multiple edges. More...

Public Member Functions

virtual void Dispose ()
unsafe Const_FillHoleParams ()
 Constructs an empty (default-constructed) instance.
unsafe Const_FillHoleParams (MR._ByValue_FillHoleMetric metric, bool smoothBd, MR.FaceBitSet? outNewFaces, MR.FillHoleParams.MultipleEdgesResolveMode multipleEdgesResolveMode, bool makeDegenerateBand, int maxPolygonSubdivisions, MR.Misc.InOut< bool >? stopBeforeBadTriangulation)
 Constructs MR.FillHoleParams elementwise.
unsafe Const_FillHoleParams (MR._ByValue_FillHoleParams _other)
 Generated from constructor MR.FillHoleParams.FillHoleParams.
 Const_FillHoleParams (Const_FillHoleParams _other)
 Generated from constructor MR.FillHoleParams.FillHoleParams.
 Const_FillHoleParams (FillHoleParams _other)
 Generated from constructor MR.FillHoleParams.FillHoleParams.

Protected Member Functions

virtual unsafe void Dispose (bool disposing)

Protected Attributes

unsafe bool * __ref_storage_smoothBd
unsafe MR.FaceBitSet._Underlying ** __ptr_storage_outNewFaces
unsafe MR.FillHoleParams.MultipleEdgesResolveMode__ref_storage_multipleEdgesResolveMode
unsafe bool * __ref_storage_makeDegenerateBand
unsafe int * __ref_storage_maxPolygonSubdivisions
unsafe byte ** __ptr_storage_stopBeforeBadTriangulation

Properties

unsafe MR.Const_FillHoleMetric metric [get, protected set]
 Specifies triangulation metric
default for MR.fillHole: getCircumscribedFillMetric
.
unsafe bool smoothBd [get]
 If true, hole filling will minimize the sum of metrics including boundary edges, where one triangle was present before hole filling, and another is added during hole filling. This makes boundary edges same smooth as inner edges of the patch. If false, edge metric will not be applied to boundary edges, and the patch tends to make a sharper turn there.
unsafe MR.? FaceBitSet outNewFaces [get]
 If not nullptr accumulate new faces.
unsafe MR.FillHoleParams.MultipleEdgesResolveMode multipleEdgesResolveMode [get]
unsafe bool makeDegenerateBand [get]
 If true creates degenerate faces band around hole to have sharp angle visualization.
unsafe int maxPolygonSubdivisions [get]
 The maximum number of polygon subdivisions on a triangle and two smaller polygons, must be 2 or larger.
unsafe MR.Misc.? Box< byte > stopBeforeBadTriangulation [get]
 Input/output value, if it is present: returns true if triangulation was bad and do not actually fill hole, if triangulation is ok returns false; if it is not present fill hole trivially in case of bad triangulation, (or leaves bad triangulation, depending on metric)

Member Enumeration Documentation

◆ MultipleEdgesResolveMode

If Strong makes additional efforts to avoid creating multiple edges, in some rare cases it is not possible (cases with extremely bad topology), if you faced one try to use MR.duplicateMultiHoleVertices before MR.fillHole If Simple avoid creating edges that already exist in topology (default) If None do not avoid multiple edges.

Enumerator
None 
Simple 
Strong 

Constructor & Destructor Documentation

◆ Const_FillHoleParams() [1/5]

unsafe MR.Const_FillHoleParams.Const_FillHoleParams ( )
inline

Constructs an empty (default-constructed) instance.

◆ Const_FillHoleParams() [2/5]

unsafe MR.Const_FillHoleParams.Const_FillHoleParams ( MR._ByValue_FillHoleMetric metric,
bool smoothBd,
MR.FaceBitSet? outNewFaces,
MR.FillHoleParams.MultipleEdgesResolveMode multipleEdgesResolveMode,
bool makeDegenerateBand,
int maxPolygonSubdivisions,
MR.Misc.InOut< bool >? stopBeforeBadTriangulation )
inline

Constructs MR.FillHoleParams elementwise.

◆ Const_FillHoleParams() [3/5]

unsafe MR.Const_FillHoleParams.Const_FillHoleParams ( MR._ByValue_FillHoleParams _other)
inline

Generated from constructor MR.FillHoleParams.FillHoleParams.

◆ Const_FillHoleParams() [4/5]

MR.Const_FillHoleParams.Const_FillHoleParams ( Const_FillHoleParams _other)
inline

Generated from constructor MR.FillHoleParams.FillHoleParams.

◆ Const_FillHoleParams() [5/5]

MR.Const_FillHoleParams.Const_FillHoleParams ( FillHoleParams _other)
inline

Generated from constructor MR.FillHoleParams.FillHoleParams.

Member Function Documentation

◆ Dispose() [1/2]

virtual void MR.Const_FillHoleParams.Dispose ( )
inlinevirtual

◆ Dispose() [2/2]

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

Member Data Documentation

◆ __ptr_storage_outNewFaces

unsafe MR.FaceBitSet._Underlying** MR.Const_FillHoleParams.__ptr_storage_outNewFaces
protected

◆ __ptr_storage_stopBeforeBadTriangulation

unsafe byte** MR.Const_FillHoleParams.__ptr_storage_stopBeforeBadTriangulation
protected

◆ __ref_storage_makeDegenerateBand

unsafe bool* MR.Const_FillHoleParams.__ref_storage_makeDegenerateBand
protected

◆ __ref_storage_maxPolygonSubdivisions

unsafe int* MR.Const_FillHoleParams.__ref_storage_maxPolygonSubdivisions
protected

◆ __ref_storage_multipleEdgesResolveMode

unsafe MR.FillHoleParams.MultipleEdgesResolveMode* MR.Const_FillHoleParams.__ref_storage_multipleEdgesResolveMode
protected

◆ __ref_storage_smoothBd

unsafe bool* MR.Const_FillHoleParams.__ref_storage_smoothBd
protected

Property Documentation

◆ makeDegenerateBand

unsafe bool MR.Const_FillHoleParams.makeDegenerateBand
get

If true creates degenerate faces band around hole to have sharp angle visualization.

Warning
This flag bad for result topology, most likely you do not need it

◆ maxPolygonSubdivisions

unsafe int MR.Const_FillHoleParams.maxPolygonSubdivisions
get

The maximum number of polygon subdivisions on a triangle and two smaller polygons, must be 2 or larger.

◆ metric

unsafe MR.Const_FillHoleMetric MR.Const_FillHoleParams.metric
getprotected set

Specifies triangulation metric
default for MR.fillHole: getCircumscribedFillMetric
.

See also
FillHoleMetric

◆ multipleEdgesResolveMode

unsafe MR.FillHoleParams.MultipleEdgesResolveMode MR.Const_FillHoleParams.multipleEdgesResolveMode
get

◆ outNewFaces

unsafe MR.? FaceBitSet MR.Const_FillHoleParams.outNewFaces
get

If not nullptr accumulate new faces.

◆ smoothBd

unsafe bool MR.Const_FillHoleParams.smoothBd
get

If true, hole filling will minimize the sum of metrics including boundary edges, where one triangle was present before hole filling, and another is added during hole filling. This makes boundary edges same smooth as inner edges of the patch. If false, edge metric will not be applied to boundary edges, and the patch tends to make a sharper turn there.

◆ stopBeforeBadTriangulation

unsafe MR.Misc.? Box<byte> MR.Const_FillHoleParams.stopBeforeBadTriangulation
get

Input/output value, if it is present: returns true if triangulation was bad and do not actually fill hole, if triangulation is ok returns false; if it is not present fill hole trivially in case of bad triangulation, (or leaves bad triangulation, depending on metric)


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