mirror of https://github.com/CGAL/cgal
first changes after Guillaumes review
This commit is contained in:
parent
8fa4a1e9c7
commit
457e9d5b00
|
|
@ -210,14 +210,14 @@ corresponding facets of the underlying 3D Delaunay triangulation.
|
||||||
|
|
||||||
The type of the 2D triangulation data structure describing the
|
The type of the 2D triangulation data structure describing the
|
||||||
reconstructed surface is the nested type
|
reconstructed surface is the nested type
|
||||||
\link Advancing_front_surface_reconstruction::TDS_2 `TDS_2`\endlink.
|
\link Advancing_front_surface_reconstruction::Triangulation_data_structure_2 `Advancing_front_surface_reconstruction::Triangulation_data_structure_2`\endlink.
|
||||||
|
|
||||||
The type `TDS_2::Vertex` is model of the
|
The type `Advancing_front_surface_reconstruction::Triangulation_data_structure_2::Vertex` is model of the
|
||||||
concept `TriangulationDataStructure_2::Vertex` and has additionally
|
concept `TriangulationDataStructure_2::Vertex` and has additionally
|
||||||
the method `vertex_3()` that returns an `Advancing_front_surface_reconstruction::Vertex_handle` to the
|
the method `vertex_3()` that returns an `Advancing_front_surface_reconstruction::Vertex_handle` to the
|
||||||
associated 3D vertex.
|
associated 3D vertex.
|
||||||
|
|
||||||
The type `TDS_2::Face` is model of the concept
|
The type `Advancing_front_surface_reconstruction::Triangulation_data_structure_2::Face` is model of the concept
|
||||||
`TriangulationDataStructure_2::Face` and has additionally the method
|
`TriangulationDataStructure_2::Face` and has additionally the method
|
||||||
`facet()` that returns the associated `Advancing_front_surface_reconstruction::Facet`,
|
`facet()` that returns the associated `Advancing_front_surface_reconstruction::Facet`,
|
||||||
and a method `is_on_surface()` for testing if a face is part of the reconstructed
|
and a method `is_on_surface()` for testing if a face is part of the reconstructed
|
||||||
|
|
|
||||||
|
|
@ -20,15 +20,15 @@ public:
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
The type of the 2D triangulation data structure describing the reconstructed surface.
|
The type of the 2D triangulation data structure describing the reconstructed surface.
|
||||||
The type `TDS_2::Vertex` is model of the concept `TriangulationDataStructure_2::Vertex` and has additionally the
|
The type `Triangulation_data_structure_2::Vertex` is model of the concept `TriangulationDataStructure_2::Vertex` and has additionally the
|
||||||
method `vertex_3()` that returns a `Vertex_handle` to the associated 3D vertex.
|
method `vertex_3()` that returns a `Vertex_handle` to the associated 3D vertex.
|
||||||
The type `TDS_2::Face` is model of the concept `TriangulationDataStructure_2::Face` and has additionally the
|
The type `Triangulation_data_structure_2::Face` is model of the concept `TriangulationDataStructure_2::Face` and has additionally the
|
||||||
method `facet()` that returns the associated `Facet`, and a method `bool is_on_surface()`
|
method `facet()` that returns the associated `Facet`, and a method `bool is_on_surface()`
|
||||||
for testing if a face is part of the reconstructed surface or a face incident to a boundary edge.
|
for testing if a face is part of the reconstructed surface or a face incident to a boundary edge.
|
||||||
In case the surface has boundaries, the 2D surface has one vertex which is associated to the infinite
|
In case the surface has boundaries, the 2D surface has one vertex which is associated to the infinite
|
||||||
vertex of the 3D triangulation.
|
vertex of the 3D triangulation.
|
||||||
*/
|
*/
|
||||||
typedef unspecified_type TDS_2;
|
typedef unspecified_type Triangulation_data_structure_2;
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
@ -108,7 +108,7 @@ Advancing_front_surface_reconstruction(Dt& dt);
|
||||||
/// @{
|
/// @{
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
runs the surface reconstruction function with the default parameters.
|
runs the surface reconstruction function.
|
||||||
|
|
||||||
\param radius_ratio_bound candidates incident to surface triangles which are not in the beta-wedge
|
\param radius_ratio_bound candidates incident to surface triangles which are not in the beta-wedge
|
||||||
are discarded, if the ratio of their radius and the radius of the surface triangle is larger than `radius_ratio_bound`.
|
are discarded, if the ratio of their radius and the radius of the surface triangle is larger than `radius_ratio_bound`.
|
||||||
|
|
@ -122,8 +122,8 @@ runs the surface reconstruction function with the default parameters.
|
||||||
/*!
|
/*!
|
||||||
returns the reconstructed surface.
|
returns the reconstructed surface.
|
||||||
*/
|
*/
|
||||||
const TDS_2&
|
const Triangulation_data_structure_2&
|
||||||
tds_2();
|
triangulation_data_structure_2() const;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
returns the underlying 3D Delaunay triangulation.
|
returns the underlying 3D Delaunay triangulation.
|
||||||
|
|
@ -165,16 +165,16 @@ bool
|
||||||
has_on_surface(Facet f) const;
|
has_on_surface(Facet f) const;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
returns `true` if the facet f is on the surface.
|
returns `true` if the facet `f2` is on the surface.
|
||||||
*/
|
*/
|
||||||
bool
|
bool
|
||||||
has_on_surface(TDS_2::Face_handle f2) const;
|
has_on_surface(Triangulation_data_structure_2::Face_handle f2) const;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
returns `true` if the facet f is on the surface.
|
returns `true` if the vertex `v2` is on the surface.
|
||||||
*/
|
*/
|
||||||
bool
|
bool
|
||||||
has_on_surface(TDS_2::Vertex_handle v2) const;
|
has_on_surface(Triangulation_data_structure_2::Vertex_handle v2) const;
|
||||||
/// @}
|
/// @}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
|
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
|
||||||
typedef CGAL::Advancing_front_surface_reconstruction<K> Reconstruction;
|
typedef CGAL::Advancing_front_surface_reconstruction<K> Reconstruction;
|
||||||
typedef Reconstruction::Triangulation_3 Triangulation_3;
|
typedef Reconstruction::Triangulation_3 Triangulation_3;
|
||||||
typedef Reconstruction::TDS_2 TDS_2;
|
typedef Reconstruction::Triangulation_data_structure_2 TDS_2;
|
||||||
typedef K::Point_3 Point_3;
|
typedef K::Point_3 Point_3;
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue