MeshLib
 
Loading...
Searching...
No Matches
MR::DecimateResult Struct Reference

Results of MR::decimateMesh. More...

#include <MRMeshDecimate.h>

Public Attributes

int vertsDeleted = 0
 Number deleted verts. Same as the number of performed collapses.
 
int facesDeleted = 0
 
float errorIntroduced = 0
 
bool cancelled = true
 whether the algorithm was cancelled by the callback
 

Detailed Description

Member Data Documentation

◆ cancelled

bool MR::DecimateResult::cancelled = true

whether the algorithm was cancelled by the callback

◆ errorIntroduced

float MR::DecimateResult::errorIntroduced = 0

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

◆ facesDeleted

int MR::DecimateResult::facesDeleted = 0

Number deleted faces

◆ vertsDeleted

int MR::DecimateResult::vertsDeleted = 0

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


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