#include <ModRoundnessT.hh>
Inheritance diagram for OpenMesh::Decimater::ModRoundnessT< DecimaterType >:
Public Methods | |
ModRoundnessT (DecimaterType &_dec) | |
Constructor. | |
~ModRoundnessT () | |
Destructor. | |
float | collapse_priority (const CollapseInfo &_ci) |
Compute collapse priority due to roundness of triangle. | |
void | set_min_roundness (value_type _min_roundness, bool _binary=true) |
Set a minimum roundness value. | |
void | unset_min_roundness () |
Unset minimum value constraint and enable non-binary mode. |
|
Compute collapse priority due to roundness of triangle. The roundness is computed by dividing the radius of the circumference by the length of the shortest edge. The result is normalized.
|
|
Set a minimum roundness value.
|