CGAL 4.8.2 - 2D Alpha Shapes
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
AlphaShapeFace_2 Concept Reference

Definition

Types

typedef unspecified_type Interval_3
 A container type to get (and put) the three special values ( α1,α2,α3) associated with an alpha shape edge.
 
typedef unspecified_type FT
 A coordinate type. More...
 

Creation

 AlphaShapeFace_2 ()
 default constructor.
 
 AlphaShapeFace_2 (const Vertex_handle &v0, const Vertex_handle &v1, const Vertex_handle &v2)
 constructor setting the incident vertices.
 
 AlphaShapeFace_2 (const Vertex_handle &v0, const Vertex_handle &v1, const Vertex_handle &v2, const Face_handle &n0, const Face_handle &n1, const Face_handle &n2)
 constructor setting the incident vertices and the neighboring faces.
 

Access Functions

Interval_3 get_ranges (const int &i)
 returns the interval associated with the edge indexed with i, which contains three alpha values α1α2α3, such as for α between α1 and α2, the edge indexed with i is attached but singular, for α between α2 and α3, the edge is regular, and for α greater than α3, the edge is interior.
 
FT get_alpha ()
 return the alpha value, under which the alpha shape contains the face.
 

Modifiers

void set_ranges (const int &i, const Interval_3 &V)
 sets the interval associated with the edge indexed with i, which contains three alpha values α1α2α3, such as for α between α1 and α2, the edge indexed with i is attached but singular, for α between α2 and α3, the edge is regular, and for α greater than α3, the edge is interior.
 
void set_alpha (FT A)
 sets the alpha value, under which the alpha shape contains the face.
 

Member Typedef Documentation

A coordinate type.

The type must provide a copy constructor, assignment, comparison operators, negation, multiplication, division and allow the declaration and initialization with a small integer constant (cf. requirements for number types). An obvious choice would be coordinate type of the point class