MeshLib C# Docs
Loading...
Searching...
No Matches
MR.DecimateResult Struct Reference

Results of MR.decimateMesh. More...

Inheritance diagram for MR.DecimateResult:

Public Member Functions

unsafe DecimateResult ()
 Constructs an empty (default-constructed) instance.
unsafe DecimateResult (int vertsDeleted, int facesDeleted, float errorIntroduced, bool cancelled)
 Constructs MR.DecimateResult elementwise.
unsafe DecimateResult (MR.Const_DecimateResult _other)
 Generated from constructor MR.DecimateResult.DecimateResult.
 DecimateResult (DecimateResult _other)
 Generated from constructor MR.DecimateResult.DecimateResult.
unsafe MR.DecimateResult assign (MR.Const_DecimateResult _other)
 Generated from method MR::DecimateResult::operator=.
Public Member Functions inherited from MR.Const_DecimateResult
virtual void Dispose ()
unsafe Const_DecimateResult ()
 Constructs an empty (default-constructed) instance.
unsafe Const_DecimateResult (int vertsDeleted, int facesDeleted, float errorIntroduced, bool cancelled)
 Constructs MR.DecimateResult elementwise.
unsafe Const_DecimateResult (MR.Const_DecimateResult _other)
 Generated from constructor MR.DecimateResult.DecimateResult.
 Const_DecimateResult (DecimateResult _other)
 Generated from constructor MR.DecimateResult.DecimateResult.

Properties

new unsafe ref int vertsDeleted [get]
 Number deleted verts. Same as the number of performed collapses.
new unsafe ref int facesDeleted [get]
 Number deleted faces.
new unsafe ref float errorIntroduced [get]
 for DecimateStrategy.MinimizeError: estimated distance deviation of decimated mesh from the original mesh for DecimateStrategy.ShortestEdgeFirst: the shortest remaining edge in the mesh
new unsafe ref bool cancelled [get]
 whether the algorithm was cancelled by the callback
Properties inherited from MR.Const_DecimateResult
unsafe int vertsDeleted [get]
 Number deleted verts. Same as the number of performed collapses.
unsafe int facesDeleted [get]
 Number deleted faces.
unsafe float errorIntroduced [get]
 for DecimateStrategy.MinimizeError: estimated distance deviation of decimated mesh from the original mesh for DecimateStrategy.ShortestEdgeFirst: the shortest remaining edge in the mesh
unsafe bool cancelled [get]
 whether the algorithm was cancelled by the callback

Additional Inherited Members

Protected Member Functions inherited from MR.Const_DecimateResult
virtual unsafe void Dispose (bool disposing)
Protected Attributes inherited from MR.Const_DecimateResult
unsafe int * __ref_storage_vertsDeleted
unsafe int * __ref_storage_facesDeleted
unsafe float * __ref_storage_errorIntroduced
unsafe bool * __ref_storage_cancelled

Detailed Description

Results of MR.decimateMesh.

See also
decimateMesh
decimateParallelMesh
resolveMeshDegenerations Generated from class MR.DecimateResult. This is the const half of the class.
decimateMesh
decimateParallelMesh
resolveMeshDegenerations Generated from class MR.DecimateResult. This is the non-const half of the class.

Constructor & Destructor Documentation

◆ DecimateResult() [1/4]

unsafe MR.DecimateResult.DecimateResult ( )
inline

Constructs an empty (default-constructed) instance.

◆ DecimateResult() [2/4]

unsafe MR.DecimateResult.DecimateResult ( int vertsDeleted,
int facesDeleted,
float errorIntroduced,
bool cancelled )
inline

Constructs MR.DecimateResult elementwise.

◆ DecimateResult() [3/4]

unsafe MR.DecimateResult.DecimateResult ( MR.Const_DecimateResult _other)
inline

Generated from constructor MR.DecimateResult.DecimateResult.

◆ DecimateResult() [4/4]

MR.DecimateResult.DecimateResult ( DecimateResult _other)
inline

Generated from constructor MR.DecimateResult.DecimateResult.

Member Function Documentation

◆ assign()

unsafe MR.DecimateResult MR.DecimateResult.assign ( MR.Const_DecimateResult _other)
inline

Generated from method MR::DecimateResult::operator=.

Property Documentation

◆ cancelled

new unsafe ref bool MR.DecimateResult.cancelled
get

whether the algorithm was cancelled by the callback

◆ errorIntroduced

new unsafe ref float MR.DecimateResult.errorIntroduced
get

for DecimateStrategy.MinimizeError: estimated distance deviation of decimated mesh from the original mesh for DecimateStrategy.ShortestEdgeFirst: the shortest remaining edge in the mesh

◆ facesDeleted

new unsafe ref int MR.DecimateResult.facesDeleted
get

Number deleted faces.

◆ vertsDeleted

new unsafe ref int MR.DecimateResult.vertsDeleted
get

Number deleted verts. Same as the number of performed collapses.


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