CGAL 4.6.3 - dD Geometry Kernel
|
The concept of a kernel is defined by a set of requirements on the provision of certain types and access member functions to create objects of these types. The types are function object classes to be used within the algorithms and data structures in the basic library of CGAL. This allows you to use any model of a kernel as a traits class in the CGAL algorithms and data structures, unless they require types beyond those provided by a kernel.
Kernel_d
subsumes the concept of a \( d\)-dimensional kernel.
A kernel provides types, construction objects, and generalized predicates. The former replace constructors of the kernel classes and constructive procedures in the kernel. There are also function objects replacing operators, especially for equality testing.
Types | |
typedef unspecified_type | FT |
a number type that is a model for FieldNumberType | |
typedef unspecified_type | RT |
a number type that is a model for RingNumberType | |
typedef unspecified_type | Dimension |
the dimension of the ambient space. More... | |
Coordinate Access | |
typedef unspecified_type | Cartesian_const_iterator_d |
a type that allows to iterate over the Cartesian coordinates | |
Geometric Objects | |
typedef unspecified_type | Point_d |
typedef unspecified_type | Vector_d |
typedef unspecified_type | Direction_d |
typedef unspecified_type | Hyperplane_d |
typedef unspecified_type | Line_d |
typedef unspecified_type | Ray_d |
typedef unspecified_type | Segment_d |
typedef unspecified_type | Iso_box_d |
typedef unspecified_type | Sphere_d |
typedef unspecified_type | Aff_transformation_d |
Operations | |
The following member functions return function objects of the types listed above. The name of the access function is the name of the type returned with an | |
Kernel_d::Construct_point_d | construct_point_d_object () const |
Kernel_d::Orientation_d | orientation_d_object () const |
typedef unspecified_type Kernel_d::Dimension |
the dimension of the ambient space.
It must be either Dimension_tag<d>
for some integer d or Dynamic_dimension_tag
.