\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.7 - 3D Mesh Generation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
CGAL::Mesh_constant_domain_field_3< Gt, Index > Class Template Reference

#include <CGAL/Mesh_constant_domain_field_3.h>

Definition

The class Mesh_constant_domain_field_3 is a model of concept MeshDomainField_3.

It provides a constant field accessible using queries on 3D-points.

The class Mesh_constant_domain_field_3 can also be customized through set_size() operations to become a piecewise constant field, i.e. a sizing field with a constant size on each subpart of the domain.

Template Parameters
Gtis the geometric traits class. It must match the type Triangulation::Geom_traits, where Triangulation is the nested type of the model of MeshComplex_3InTriangulation_3 used in the meshing process.
Indexis the type of index of the vertices of the triangulation. It must match the type Index of the model of MeshDomain_3 used in the meshing process.
Is Model Of:
MeshDomainField_3
See also
MeshDomainField_3
Examples:
Mesh_3/mesh_3D_image_variable_size.cpp.

Types

typedef Gt::FT FT
 Numerical type. More...
 
typedef Gt::Point_3 Point_3
 Point type. More...
 
typedef Index Index
 Type of index of the vertices of the triangulation. More...
 

Creation

 Mesh_constant_domain_field_3 (FT size)
 Builds a constant domain field with size size. More...
 

Operations

void set_size (FT size, int dimension, const Index &index)
 Sets the size such as operator() will return size size at any query point of dimension dimension and index index. More...
 

Member Typedef Documentation

template<typename Gt , typename Index >
typedef Gt::FT CGAL::Mesh_constant_domain_field_3< Gt, Index >::FT

Numerical type.

template<typename Gt , typename Index >
typedef Index CGAL::Mesh_constant_domain_field_3< Gt, Index >::Index

Type of index of the vertices of the triangulation.

template<typename Gt , typename Index >
typedef Gt::Point_3 CGAL::Mesh_constant_domain_field_3< Gt, Index >::Point_3

Point type.

Constructor & Destructor Documentation

template<typename Gt , typename Index >
CGAL::Mesh_constant_domain_field_3< Gt, Index >::Mesh_constant_domain_field_3 ( FT  size)

Builds a constant domain field with size size.

Member Function Documentation

template<typename Gt , typename Index >
void CGAL::Mesh_constant_domain_field_3< Gt, Index >::set_size ( FT  size,
int  dimension,
const Index index 
)

Sets the size such as operator() will return size size at any query point of dimension dimension and index index.