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

Definition

The concept MeshDataStructure describes the way the tetrahedral mesh will be accessed and modified.

See also
CGAL::Mesh_optimization::Mesh_smoother

Types

using Cell_descriptor = unspecified_type
 Descriptor used to access a cell (tetrahedron) information.
using Vertex_descriptor = unspecified_type
 Descriptor used to access a vertex information.
using Point_3 = unspecified_type
 Point type.

Operations

The following functions are used to access and modify the mesh data:

std::size_t nb_cells () const
 Used only to reserve memory.
Point_3 vertex_coordinates (Vertex_descriptor vertex) const
 Access the coordinates of the given point.
void set_new_vertex_coordinates (Vertex_descriptor vertex, Point_3 coord)
 Change the coordinates of the given point.
unspecified_type cell_range () const
 Provide an iterable range over the Cell_descriptors of the mesh.
unspecified_type cell_vertices (Cell_descriptor cell) const
 Access the 4 vertices of a cell.
unspecified_type cell_reference_shape (Cell_descriptor cell) const
 Optimal shape of the given cell.

Member Function Documentation

◆ cell_reference_shape()

unspecified_type MeshDataStructure::cell_reference_shape ( Cell_descriptor cell) const

Optimal shape of the given cell.

Returns container behaving like std::array<Point_3, 4>

◆ cell_vertices()

unspecified_type MeshDataStructure::cell_vertices ( Cell_descriptor cell) const

Access the 4 vertices of a cell.

Returns container behaving like std::array<Vertex_descriptor, 4>

◆ nb_cells()

std::size_t MeshDataStructure::nb_cells ( ) const

Used only to reserve memory.

std::size_t is optional but will avoid warnings.

#include <Concepts/MeshDataStructure.h>

Definition

The concept MeshDataStructure describes the way the tetrahedral mesh will be accessed and modified.

See also
CGAL::Mesh_optimization::Mesh_smoother

Types

using Cell_descriptor = unspecified_type
 Descriptor used to access a cell (tetrahedron) information.
using Vertex_descriptor = unspecified_type
 Descriptor used to access a vertex information.
using Point_3 = unspecified_type
 Point type.

Operations

The following functions are used to access and modify the mesh data:

std::size_t nb_cells () const
 Used only to reserve memory.
Point_3 vertex_coordinates (Vertex_descriptor vertex) const
 Access the coordinates of the given point.
void set_new_vertex_coordinates (Vertex_descriptor vertex, Point_3 coord)
 Change the coordinates of the given point.
unspecified_type cell_range () const
 Provide an iterable range over the Cell_descriptors of the mesh.
unspecified_type cell_vertices (Cell_descriptor cell) const
 Access the 4 vertices of a cell.
unspecified_type cell_reference_shape (Cell_descriptor cell) const
 Optimal shape of the given cell.

Member Function Documentation

◆ cell_reference_shape()

unspecified_type MeshDataStructure::cell_reference_shape ( Cell_descriptor cell) const

Optimal shape of the given cell.

Returns container behaving like std::array<Point_3, 4>

◆ cell_vertices()

unspecified_type MeshDataStructure::cell_vertices ( Cell_descriptor cell) const

Access the 4 vertices of a cell.

Returns container behaving like std::array<Vertex_descriptor, 4>

◆ nb_cells()

std::size_t MeshDataStructure::nb_cells ( ) const

Used only to reserve memory.

std::size_t is optional but will avoid warnings.