mirror of https://github.com/CGAL/cgal
Cartesian -> \ccHtmlNoLinksFrom{Cartesian}
This commit is contained in:
parent
508edbe8af
commit
e0ec47e1b8
|
|
@ -1,3 +1,6 @@
|
||||||
|
1.81 (14 October 2003) [af]
|
||||||
|
- Cartesian -> \ccHtmlNoLinksFrom{Cartesian}
|
||||||
|
|
||||||
1.80 (7 October 2003) [af]
|
1.80 (7 October 2003) [af]
|
||||||
- Made typedef K_ Kernel public
|
- Made typedef K_ Kernel public
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
\ccDefinition
|
\ccDefinition
|
||||||
An object \ccStyle{l} of the data type \ccRefName\ is a directed
|
An object \ccStyle{l} of the data type \ccRefName\ is a directed
|
||||||
straight line in the two-dimensional Euclidean plane $\E^2$. It is
|
straight line in the two-dimensional Euclidean plane $\E^2$. It is
|
||||||
defined by the set of points with Cartesian coordinates $(x,y)$
|
defined by the set of points with \ccHtmlNoLinksFrom{Cartesian} coordinates $(x,y)$
|
||||||
that satisfy the equation
|
that satisfy the equation
|
||||||
\begin{ccTexOnly}
|
\begin{ccTexOnly}
|
||||||
\[ l:\; a\, x +b\, y +c = 0. \]
|
\[ l:\; a\, x +b\, y +c = 0. \]
|
||||||
|
|
@ -13,7 +13,7 @@ that satisfy the equation
|
||||||
\end{ccHtmlOnly}
|
\end{ccHtmlOnly}
|
||||||
|
|
||||||
The line splits $\E^2$ in a {\em positive} and a {\em negative}
|
The line splits $\E^2$ in a {\em positive} and a {\em negative}
|
||||||
side. A point $p$ with Cartesian coordinates
|
side. A point $p$ with \ccHtmlNoLinksFrom{Cartesian} coordinates
|
||||||
$(px, py)$ is on the positive side of \ccStyle{l}, iff
|
$(px, py)$ is on the positive side of \ccStyle{l}, iff
|
||||||
\ccTexHtml{$a\, px + b\, py +c > 0$}{a px + b py + c > 0}, it is
|
\ccTexHtml{$a\, px + b\, py +c > 0$}{a px + b py + c > 0}, it is
|
||||||
on the negative side of \ccStyle{l}, iff
|
on the negative side of \ccStyle{l}, iff
|
||||||
|
|
@ -30,7 +30,7 @@ The positive side is to the left of \ccc{l}.
|
||||||
{copy constructor.}
|
{copy constructor.}
|
||||||
|
|
||||||
\ccConstructor{Line_2(const Kernel::RT &a, const Kernel::RT &b, const Kernel::RT &c);}
|
\ccConstructor{Line_2(const Kernel::RT &a, const Kernel::RT &b, const Kernel::RT &c);}
|
||||||
{introduces a line \ccVar\ with the line equation in Cartesian
|
{introduces a line \ccVar\ with the line equation in \ccHtmlNoLinksFrom{Cartesian}
|
||||||
coordinates $ax +by +c = 0$.}
|
coordinates $ax +by +c = 0$.}
|
||||||
|
|
||||||
\ccConstructor{Line_2(const Point_2<Kernel> &p, const Point_2<Kernel> &q);}
|
\ccConstructor{Line_2(const Point_2<Kernel> &p, const Point_2<Kernel> &q);}
|
||||||
|
|
@ -157,9 +157,9 @@ For convenience we provide the following boolean functions:
|
||||||
%loss of precision if the number type is not exact.
|
%loss of precision if the number type is not exact.
|
||||||
|
|
||||||
\ccExample
|
\ccExample
|
||||||
Let us first define two Cartesian two-dimensional points in the Euclidean
|
Let us first define two \ccHtmlNoLinksFrom{Cartesian} two-dimensional points in the Euclidean
|
||||||
plane $\E^2$. Their
|
plane $\E^2$. Their
|
||||||
dimension and the fact that they are Cartesian is expressed by
|
dimension and the fact that they are \ccHtmlNoLinksFrom{Cartesian} is expressed by
|
||||||
the suffix \ccStyle{_2} and the representation type \ccStyle{Cartesian}.
|
the suffix \ccStyle{_2} and the representation type \ccStyle{Cartesian}.
|
||||||
|
|
||||||
\begin{cprog}
|
\begin{cprog}
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ In most cases this geometric traits class must be a model of the \cgal\ geometry
|
||||||
kernel concept (but there are some exceptions).
|
kernel concept (but there are some exceptions).
|
||||||
|
|
||||||
The \cgal\ distribution comes with a number of models (or geometry kernels), for
|
The \cgal\ distribution comes with a number of models (or geometry kernels), for
|
||||||
instance the Cartesian kernel (\ccc{CGAL::Cartesian}) or the homogeneous kernel
|
instance the \ccHtmlNoLinksFrom{Cartesian} kernel (\ccc{CGAL::Cartesian}) or the homogeneous kernel
|
||||||
(\ccc{CGAL::Homogeneous}), that can be used with the packages of the basic
|
(\ccc{CGAL::Homogeneous}), that can be used with the packages of the basic
|
||||||
library.
|
library.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ function objects (provided by a kernel class).
|
||||||
\cgal\ provides predicates for the \ccHtmlNoLinksFrom{orientation} of point
|
\cgal\ provides predicates for the \ccHtmlNoLinksFrom{orientation} of point
|
||||||
sets (\ccc{orientation}, \ccc{leftturn}, \ccc{rightturn}, \ccc{collinear},
|
sets (\ccc{orientation}, \ccc{leftturn}, \ccc{rightturn}, \ccc{collinear},
|
||||||
\ccc{coplanar}), for comparing points according to some given order,
|
\ccc{coplanar}), for comparing points according to some given order,
|
||||||
especially for comparing Cartesian coordinates
|
especially for comparing \ccHtmlNoLinksFrom{Cartesian} coordinates
|
||||||
(e.g.~\ccc{lexicographically_xy_smaller}), in-circle and in-sphere tests,
|
(e.g.~\ccc{lexicographically_xy_smaller}), in-circle and in-sphere tests,
|
||||||
and predicates to compare distances.
|
and predicates to compare distances.
|
||||||
|
|
||||||
|
|
@ -73,7 +73,7 @@ represent an arbitrary class. The only operations it provides is
|
||||||
to make copies and assignments, so that you can put them in lists
|
to make copies and assignments, so that you can put them in lists
|
||||||
or arrays. Note that \ccc{Object} is NOT a common base class for the
|
or arrays. Note that \ccc{Object} is NOT a common base class for the
|
||||||
elementary classes. Therefore, there is no
|
elementary classes. Therefore, there is no
|
||||||
automatic conversion from these classes to \ccc{Object} Rather
|
automatic conversion from these classes to \ccc{Object}. Rather
|
||||||
this is done with the global function \ccc{make_object()}. This
|
this is done with the global function \ccc{make_object()}. This
|
||||||
encapsulation mechanism requires the use of \ccc{assign} to use
|
encapsulation mechanism requires the use of \ccc{assign} to use
|
||||||
the functionality of the encapsulated class.
|
the functionality of the encapsulated class.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue