Navigation: Up, Table of Contents, Bibliography, Index, Title Page

I (I)

Definition

A class I that satisfies the requirements of an interface class for a KD-tree class must provide the following types and operations.

Types

I::Point
A type to hold a input item.

Operations

static CGAL_Comparison_result
i.compare ( int k, Point p0, Point p1)
compare the k-th coordinate of p0 and p1. Return CGAL_LARGER if p0k > p1k, CGAL_SMALLER if p0k < p1k, or else CGAL_EQUAL.
static void i.copy_coord ( int k, Point & dest, Point src)
Copy the k-th coordinate of src to the k-th coordinate of dest.
static int i.dimension ( Point pnt)
return the dimension of pnt


Navigation: Up, Table of Contents, Bibliography, Index, Title Page
The CGAL Project. 22 January, 1999.