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

Definition

The concept SurfaceDataStructure describes the way the surface mesh will be accessed.

See also
CGAL::Mesh_smoothing_3::Mesh_smoother
MeshDataStructure

Types

using Face_descriptor = unspecified_type
 Descriptor used to access a face information.
using Normal_3 = unspecified_type
 Vector type.
using Surface_patch_index = unspecified_type
 Index associated with a surface patch to identify the patch it belongs to.

Operations

The following functions are used to access surface data:

std::size_t nb_faces () const
 Used only to reserve memory.
unspecified_type face_range () const
 Provides an iterable range over the Face_descriptor of the mesh.
std::size_t nb_face_vertices (Face_descriptor face) const
 Returns the number of vertices of given face.
Surface_patch_index patch_id (Face_descriptor face) const
 Returns an identifier (patch id, face id, ...) related to the given face.
unspecified_type face_vertices (Face_descriptor face) const
 Provides an iterable range of Vertex_descriptor as defined in MeshDataStructure to iterate over the vertices of a face.

Member Typedef Documentation

◆ Surface_patch_index

Index associated with a surface patch to identify the patch it belongs to.

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

Member Function Documentation

◆ nb_face_vertices()

std::size_t SurfaceDataStructure::nb_face_vertices ( Face_descriptor face) const

Returns the number of vertices of given face.

std::size_t is optional but will avoid warnings.

◆ nb_faces()

std::size_t SurfaceDataStructure::nb_faces ( ) const

Used only to reserve memory.

std::size_t is optional but will avoid warnings.

#include <Concepts/SurfaceDataStructure.h>

Definition

The concept SurfaceDataStructure describes the way the surface mesh will be accessed.

See also
CGAL::Mesh_smoothing_3::Mesh_smoother
MeshDataStructure

Types

using Face_descriptor = unspecified_type
 Descriptor used to access a face information.
using Normal_3 = unspecified_type
 Vector type.
using Surface_patch_index = unspecified_type
 Index associated with a surface patch to identify the patch it belongs to.

Operations

The following functions are used to access surface data:

std::size_t nb_faces () const
 Used only to reserve memory.
unspecified_type face_range () const
 Provides an iterable range over the Face_descriptor of the mesh.
std::size_t nb_face_vertices (Face_descriptor face) const
 Returns the number of vertices of given face.
Surface_patch_index patch_id (Face_descriptor face) const
 Returns an identifier (patch id, face id, ...) related to the given face.
unspecified_type face_vertices (Face_descriptor face) const
 Provides an iterable range of Vertex_descriptor as defined in MeshDataStructure to iterate over the vertices of a face.

Member Typedef Documentation

◆ Surface_patch_index

Index associated with a surface patch to identify the patch it belongs to.

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

Member Function Documentation

◆ nb_face_vertices()

std::size_t SurfaceDataStructure::nb_face_vertices ( Face_descriptor face) const

Returns the number of vertices of given face.

std::size_t is optional but will avoid warnings.

◆ nb_faces()

std::size_t SurfaceDataStructure::nb_faces ( ) const

Used only to reserve memory.

std::size_t is optional but will avoid warnings.