|
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. | |
Operations | |
The following functions are used to access surface data: | |
| std::size_t | nb_edges () const |
| Used only to reserve memory. | |
| 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 the given edge. | |
| Vertex_descriptor | edge_vertex (Edge_descriptor edge, unsigned i) const |
| Return the ith vertex of the 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.
| Vertex_descriptor PolylinesDataStructure::edge_vertex | ( | Edge_descriptor | edge, |
| unsigned | i ) const |
Return the ith vertex of the edge (max 2).
Vertex_descriptor as given in MeshDataStructure.
| std::size_t PolylinesDataStructure::nb_edges | ( | ) | const |
Used only to reserve memory.
std::size_t is optional but will avoid warnings.
#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. | |
Operations | |
The following functions are used to access surface data: | |
| std::size_t | nb_edges () const |
| Used only to reserve memory. | |
| 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 the given edge. | |
| Vertex_descriptor | edge_vertex (Edge_descriptor edge, unsigned i) const |
| Return the ith vertex of the 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.
| Vertex_descriptor PolylinesDataStructure::edge_vertex | ( | Edge_descriptor | edge, |
| unsigned | i ) const |
Return the ith vertex of the edge (max 2).
Vertex_descriptor as given in MeshDataStructure.
| std::size_t PolylinesDataStructure::nb_edges | ( | ) | const |
Used only to reserve memory.
std::size_t is optional but will avoid warnings.