CGAL 6.1 - Triangulated Surface Mesh Approximation
|
#include <Concepts/ErrorMetricProxy.h>
The concept ErrorMetricProxy
defines the notion of proxy, computes the fitting error from a face to a proxy, and fits a proxy from a range of faces.
Operations | |
A model of this concept must provide: | |
FT | compute_error (const face_descriptor f, const Triangle_mesh &tm, const Proxy &proxy) const |
returns fitting error from face f to proxy. | |
template<typename FaceRange > | |
Proxy | fit_proxy (const FaceRange &faces, const Triangle_mesh &tm) const |
returns a fitted proxy to a range of faces. | |
Proxy ErrorMetricProxy::fit_proxy | ( | const FaceRange & | faces, |
const Triangle_mesh & | tm | ||
) | const |
returns a fitted proxy to a range of faces.
FaceRange | a range of boost::graph_traits<TriangleMesh>::face_descriptor model of ConstRange with iterator type being model of InputIterator . |