mirror of https://github.com/CGAL/cgal
33 lines
1.2 KiB
TeX
33 lines
1.2 KiB
TeX
\begin{ccRefClass}{Cartesian<FieldNumberType>}
|
|
\ccInclude{CGAL/Cartesian.h}
|
|
|
|
\ccDefinition
|
|
A model for \ccc{Kernel} that uses \ccHtmlNoLinksFrom{Cartesian} coordinates to represent the
|
|
geometric objects. In order for \ccRefName\ to model Euclidean geometry
|
|
in $E^2$ and/or $E^3$, for some mathematical field $E$ (\textit{e.g.},
|
|
the rationals \Q\ or the reals \R), the template parameter \ccc{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 \ccc{FieldNumberType} is only an approximation of a
|
|
field (such as the built-in type \ccc{double}), then the geometry provided by
|
|
the kernel is only an approximation of Euclidean geometry.
|
|
|
|
\ccIsModel
|
|
\ccRefConceptPage{Kernel}
|
|
|
|
\ccSetThreeColumns{typedef FieldNumberTypeXX}{FT;}{}
|
|
\ccTypes
|
|
\ccTypedef{typedef FieldNumberType FT;}{}
|
|
\ccGlue
|
|
\ccTypedef{typedef FieldNumberType RT;}{}
|
|
|
|
\ccImplementation
|
|
All geometric objects in \ccRefName\ are reference counted.
|
|
|
|
\ccSeeAlso
|
|
\ccRefIdfierPage{CGAL::Simple_cartesian<FieldNumberType>} \\
|
|
\ccRefIdfierPage{CGAL::Homogeneous<RingNumberType>} \\
|
|
\ccRefIdfierPage{CGAL::Simple_homogeneous<RingNumberType>} \\
|
|
|
|
\end{ccRefClass}
|