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=.

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

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: