CGAL 6.3 - 3D Mesh Smoothing
Loading...
Searching...
No Matches
PolylinesDataStructure Concept Reference

Definition

The concept PolylinesDataStructure describes the way the curves on the mesh will be accessed.

See also
CGAL::Mesh_smoothing_3::Mesh_smoother
MeshDataStructure
SurfaceDataStructure

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).

Member Typedef Documentation

◆ Curve_index

Index associated with an edge to identify the curve it belongs to.

This is used to query the curve information from the user.

Member Function Documentation

◆ edge_vertex()

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.

◆ nb_edges()

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>

Definition

The concept PolylinesDataStructure describes the way the curves on the mesh will be accessed.

See also
CGAL::Mesh_smoothing_3::Mesh_smoother
MeshDataStructure
SurfaceDataStructure

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).

Member Typedef Documentation

◆ Curve_index

Index associated with an edge to identify the curve it belongs to.

This is used to query the curve information from the user.

Member Function Documentation

◆ edge_vertex()

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.

◆ nb_edges()

std::size_t PolylinesDataStructure::nb_edges ( ) const

Used only to reserve memory.

std::size_t is optional but will avoid warnings.