mirror of https://github.com/CGAL/cgal
More doc
This commit is contained in:
parent
9c9256da8c
commit
b1deeabe56
|
|
@ -126,6 +126,7 @@ user might encounter.
|
|||
- `CGAL::HalfedgeDS_face_max_base_with_id`
|
||||
- `CGAL::Polyhedron_items_with_id_3`
|
||||
- `CGAL::set_halfedgeds_items_id()`
|
||||
- `CGAL::Dual`
|
||||
|
||||
## Helper Functions ##
|
||||
- `CGAL::is_border()`
|
||||
|
|
|
|||
|
|
@ -32,7 +32,21 @@ The class template `Dual` is an adaptor that creates the dual view of
|
|||
a `FaceGraph`. Faces of the original graph correspond to vertices in
|
||||
the `Dual` and vice versa.
|
||||
|
||||
Note that border edges in a `Dual` have the `null_face` of the
|
||||
original graph as either source or target. This is unusual and might
|
||||
break other algorithms since edges are always assumed to have non-null
|
||||
vertices as a source and target. It is possible to filter border edges
|
||||
using `boost::filtered_graph` as shown in example
|
||||
\ref BGL_surface_mesh/surface_mesh_dual.cpp
|
||||
|
||||
Property forwarding
|
||||
-------------------
|
||||
\cgalAdvancedBegin
|
||||
Edge properties of the underlying graph are forwarded directly. For
|
||||
faces and vertices only the `face_index` and `vertex_index` properties
|
||||
are forwarded. Accessing other properties will lead to a compilation
|
||||
error.
|
||||
\cgalAdvancedEnd
|
||||
*/
|
||||
template <typename Primal_>
|
||||
class Dual
|
||||
|
|
|
|||
Loading…
Reference in New Issue