57#ifndef OPENMESH_DECIMATER_MODEDGELENGTHT_HH
58#define OPENMESH_DECIMATER_MODEDGELENGTHT_HH
89 bool _is_binary =
true);
99 sqr_edge_length_ = _f * _f;
107 float collapse_priority(
const CollapseInfo& _ci);
110 void set_error_tolerance_factor(
double _factor);
122#if defined(OM_INCLUDE_TEMPLATES) && !defined(OPENMESH_DECIMATER_MODEDGELENGTHT_C)
123#define MODEDGELENGTHT_TEMPLATES
Base class for all decimation modules.
#define DECIMATING_MODULE(Classname, MeshT, Name)
Convenience macro, to be used in derived modules The macro defines the types.
Definition: ModBaseT.hh:154
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:64
Polygonal mesh based on the ArrayKernel.
Definition: PolyMesh_ArrayKernelT.hh:100
Kernel::Scalar Scalar
Scalar type.
Definition: PolyMeshT.hh:113
Base class for all decimation modules.
Definition: ModBaseT.hh:198
Use edge length to control decimation.
Definition: ModEdgeLengthT.hh:81
void set_edge_length(float _f)
set edge_length
Definition: ModEdgeLengthT.hh:97
float edge_length() const
get edge_length
Definition: ModEdgeLengthT.hh:92