|
CGAL 6.3 - 3D Mesh Smoothing
|
The concept PolylinesDataStructure describes the way the curves on the mesh will be accessed.
Types | |
| using | Edge_descriptor = unspecified_type |
| Descriptor used to access a edge information. | |
| using | Curve_index = unspecified_type |
| Index associated with an edge to identify the curve it belongs to. | |
| using | Vertex_descriptor = unspecified_type |
| Descriptor used to access a vertex information. | |
Operations | |
The following functions are used to access surface data: | |
| std::size_t | nb_edges () const |
| std::size_t is optional but will avoid warnings. | |
| unspecified_type | edge_range () const |
| Provides an iterable range over the Edge_descriptor of the mesh. | |
| Curve_index | curve_id (Edge_descriptor edge) const |
| Returns an identifier (curve id, segment id, ...) related to an edge. | |
| Vertex_descriptor | edge_vertex (Edge_descriptor edge, unsigned i) const |
| Return the ith vertex of an edge (max 2). | |
Index associated with an edge to identify the curve it belongs to.
This is used to query the curve information from the user.
Descriptor used to access a vertex information.
Must be compatible with the one used in MeshDataStructure.
#include <Concepts/PolylinesDataStructure.h>
The concept PolylinesDataStructure describes the way the curves on the mesh will be accessed.
Types | |
| using | Edge_descriptor = unspecified_type |
| Descriptor used to access a edge information. | |
| using | Curve_index = unspecified_type |
| Index associated with an edge to identify the curve it belongs to. | |
| using | Vertex_descriptor = unspecified_type |
| Descriptor used to access a vertex information. | |
Operations | |
The following functions are used to access surface data: | |
| std::size_t | nb_edges () const |
| std::size_t is optional but will avoid warnings. | |
| unspecified_type | edge_range () const |
| Provides an iterable range over the Edge_descriptor of the mesh. | |
| Curve_index | curve_id (Edge_descriptor edge) const |
| Returns an identifier (curve id, segment id, ...) related to an edge. | |
| Vertex_descriptor | edge_vertex (Edge_descriptor edge, unsigned i) const |
| Return the ith vertex of an edge (max 2). | |
Index associated with an edge to identify the curve it belongs to.
This is used to query the curve information from the user.
Descriptor used to access a vertex information.
Must be compatible with the one used in MeshDataStructure.