CGAL 6.1 - Interval Skip List
Loading...
Searching...
No Matches
CGAL::Level_interval< FaceHandle > Class Template Reference

#include <CGAL/Level_interval.h>

Definition

template<typename FaceHandle>
class CGAL::Level_interval< FaceHandle >

The class Level_interval represents intervals for the minimum and maximum value of the z-coordinate of a face of a triangulation.

Template Parameters
FaceHandlemust be a handle with the value type Face, which must have a nested type Vertex, which must have a nested type Point, whose Kernel_traits<Point>::Kernel must have a nested type FT. These requirements are fulfilled, if one uses a CGAL triangulation and a CGAL Kernel.
Is model of
Interval
Examples
Interval_skip_list/isl_terrain.cpp.

Related Symbols

(Note that these are not member symbols.)

template<typename FaceHandle >
ostream & operator<< (ostream &os, const Level_interval< FaceHandle > &i)
 Inserts the interval i into the stream os.
 

Types

typedef FT Value
 The type of the \( z\)-coordinate of points stored in vertices of faces.
 

Creation

 Level_interval ()
 Default constructor.
 
 Level_interval (FaceHandle fh)
 Constructs the interval with smallest and largest z coordinate of the points stored in the vertices of the face fh points to.
 

Operations

FaceHandle face_handle ()
 Returns the face handle.
 

Member Typedef Documentation

◆ Value

template<typename FaceHandle >
typedef FT CGAL::Level_interval< FaceHandle >::Value

The type of the \( z\)-coordinate of points stored in vertices of faces.

Constructor & Destructor Documentation

◆ Level_interval() [1/2]

template<typename FaceHandle >
CGAL::Level_interval< FaceHandle >::Level_interval ( )

Default constructor.

◆ Level_interval() [2/2]

template<typename FaceHandle >
CGAL::Level_interval< FaceHandle >::Level_interval ( FaceHandle  fh)

Constructs the interval with smallest and largest z coordinate of the points stored in the vertices of the face fh points to.

Member Function Documentation

◆ face_handle()

template<typename FaceHandle >
FaceHandle CGAL::Level_interval< FaceHandle >::face_handle ( )

Returns the face handle.

Friends And Related Symbol Documentation

◆ operator<<()

template<typename FaceHandle >
ostream & operator<< ( ostream &  os,
const Level_interval< FaceHandle > &  i 
)
related

Inserts the interval i into the stream os.

Precondition
The output operator for *Face_handle is defined.