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.
- Has models
CGAL::Surface_mesh_approximation::L21_metric_plane_proxy
CGAL::Surface_mesh_approximation::L2_metric_plane_proxy
|
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.
|
|
◆ fit_proxy()
template<typename FaceRange >
Proxy ErrorMetricProxy::fit_proxy |
( |
const FaceRange & |
faces, |
|
|
const Triangle_mesh & |
tm |
|
) |
| const |
returns a fitted proxy to a range of faces.
- Template Parameters
-
FaceRange | a range of boost::graph_traits<TriangleMesh>::face_descriptor model of ConstRange with iterator type being model of InputIterator . |