edit manual doc

This commit is contained in:
Lingjie Zhu 2017-07-20 18:11:22 +08:00
parent b2e79d72b1
commit b6b90113fa
1 changed files with 17 additions and 1 deletions

View File

@ -14,10 +14,26 @@ This package implement the shape fitting algorithm Variational Shape Approximati
\section sma_interface Interface
blabla
This package can thus be used either with `Polyhedron_3`, `Surface_mesh`, or
any class model of the concept `FaceGraph` described in \ref chapterBGL.
Approximate a triangle mesh and extract the approximated triangle surface, using:
- `CGAL::vsa_mesh_approximation()` : given a triangle mesh, approximate the geometry and extract the approximated triangle surface.
\section sma_examples Examples
\subsection ApproximationExample_1 Approximate a Mesh
The following example calls the functions `CGAL::vsa_mesh_approximation()` on the input triangle mesh.
\cgalExample{Surface_mesh_approximation/vsa_example.cpp}
\subsection ApproximationExample_2 User-defined Proxy
We could use self-defined proxy and error for the approximation algorithm. In the following example, we define a simple point proxy to achieve a compact patch approximation of the shape:
\cgalExample{Surface_mesh_approximation/vsa_metric_example.cpp}
\section sma_perf Performances
\section sma_history Design and Implementation History