\( \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 Alpha Shapes
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
AlphaShapeCell_3 Concept Reference

Definition

This concept describes the requirements for the base cell of an alpha shape.

See also
CGAL::Alpha_status
Refines:
TriangulationCellBase_3
Has Models:
CGAL::Alpha_shape_cell_base_3

Types

typedef unspecified_type NT
 A number type. More...
 
typedef unspecified_type Alpha_status_iterator
 An iterator with value type CGAL::Alpha_status<NT>. More...
 

Creation

 AlphaShapeCell_3 ()
 default constructor. More...
 
 AlphaShapeCell_3 (const Vertex_handle &v0, const Vertex_handle &v1, const Vertex_handle &v2, const Vertex_handle &v3)
 constructor setting the incident vertices. More...
 
 AlphaShapeCell_3 (const Vertex_handle &v0, const Vertex_handle &v1, const Vertex_handle &v2, const Vertex_handle &v3, const Cell_handle &n0, const Cell_handle &n1, const Cell_handle &n2, const Cell_handle &n3)
 constructor setting the incident vertices and the neighboring cells. More...
 

Access Functions

NT get_alpha ()
 Returns the alpha value of the cell. More...
 
Alpha_status_iterator get_facet_status (int i)
 Returns an iterator on the CGAL::Alpha_status<NT> of the facet i of the cell. More...
 

Modifiers

void set_alpha (const NT &alpha)
 Sets the critical value of the cell. More...
 
void set_facet_status (int i, Alpha_status_iterator as)
 Sets the iterator pointing to the CGAL::Alpha_status<NT> of the facet i of the cell. More...
 

Member Typedef Documentation

A number type.

Must be the same as the number type used in the traits class of the triangulation underlying the alpha shape.

Constructor & Destructor Documentation

AlphaShapeCell_3::AlphaShapeCell_3 ( )

default constructor.

AlphaShapeCell_3::AlphaShapeCell_3 ( const Vertex_handle &  v0,
const Vertex_handle &  v1,
const Vertex_handle &  v2,
const Vertex_handle &  v3 
)

constructor setting the incident vertices.

AlphaShapeCell_3::AlphaShapeCell_3 ( const Vertex_handle &  v0,
const Vertex_handle &  v1,
const Vertex_handle &  v2,
const Vertex_handle &  v3,
const Cell_handle &  n0,
const Cell_handle &  n1,
const Cell_handle &  n2,
const Cell_handle &  n3 
)

constructor setting the incident vertices and the neighboring cells.

Member Function Documentation

NT AlphaShapeCell_3::get_alpha ( )

Returns the alpha value of the cell.

Alpha_status_iterator AlphaShapeCell_3::get_facet_status ( int  i)

Returns an iterator on the CGAL::Alpha_status<NT> of the facet i of the cell.

void AlphaShapeCell_3::set_alpha ( const NT alpha)

Sets the critical value of the cell.

void AlphaShapeCell_3::set_facet_status ( int  i,
Alpha_status_iterator  as 
)

Sets the iterator pointing to the CGAL::Alpha_status<NT> of the facet i of the cell.