CGAL 6.1.2 - dD Geometry Kernel: CGAL::Cartesian_d< FieldNumberType > Class Template Reference

CGAL 6.1.2 - dD Geometry Kernel

Loading...
Searching...
No Matches
CGAL::Cartesian_d< FieldNumberType > Class Template Reference
Reference Manual » Kernels

`#include <CGAL/Cartesian_d.h>`

## Definition

template<typename FieldNumberType>
class CGAL::Cartesian_d< FieldNumberType >

A model for `Kernel_d` (and even `KernelWithLifting_d`) that uses Cartesian coordinates to represent the geometric objects.

In order for `Cartesian_d` to model Euclidean geometry in \( E^d\) , for some mathematical field \( E\) (e.g., the rationals \(\mathbb{Q}\) or the reals \(\mathbb{R}\)), 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 of
  `KernelWithLifting_d`

See also
  `CGAL::Homogeneous_d<RingNumberType>`