CGAL::Cartesian<FieldNumberType>
#include <CGAL/Cartesian.h>
Definition
A model for Kernel that uses
Cartesian
coordinates to represent the
geometric objects. In order for Cartesian<FieldNumberType> to model Euclidean geometry
in E2 and/or E3, for some mathematical field E (e.g.,
the rationals ℚ or the reals ℝ), the template parameter FieldNumberType
must model the mathematical field E. That is, the field operations on this
number type must compute the mathematically correct results. If the number
type provided as a model for FieldNumberType is only an approximation of a
field (such as the built-in type double), then the geometry provided by
the kernel is only an approximation of Euclidean geometry.
Is Model for the Concepts
Kernel
Types
Implementation
All geometric objects in Cartesian<FieldNumberType> are reference counted.
See Also
CGAL::Simple_cartesian<FieldNumberType>
CGAL::Homogeneous<RingNumberType>
CGAL::Simple_homogeneous<RingNumberType>