51 #ifndef OPENMESH_DECIMATER_MODEDGELENGTHT_HH 52 #define OPENMESH_DECIMATER_MODEDGELENGTHT_HH 83 bool _is_binary =
true);
93 sqr_edge_length_ = _f * _f;
109 typename Mesh::Scalar edge_length_, sqr_edge_length_;
116 #if defined(OM_INCLUDE_TEMPLATES) && !defined(OPENMESH_DECIMATER_MODEDGELENGTHT_C) 117 #define MODEDGELENGTHT_TEMPLATES 121 #endif // OPENMESH_DECIMATER_MODEDGELENGTHT_HH defined
float edge_length() const
get edge_length
void set_error_tolerance_factor(double _factor) override
set the percentage of edge length
#define DECIMATING_MODULE(Classname, MeshT, Name)
Use edge length to control decimation.
void set_edge_length(typename Mesh::Scalar _f)
set edge_length
ModEdgeLengthT(MeshT &_mesh, float _edge_length=FLT_MAX, bool _is_binary=true)
Constructor.
float collapse_priority(const CollapseInfo &_ci) override