CGAL 6.0 - 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 Functions

(Note that these are not member functions.)

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.
 

Friends And Related Function 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.