\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.14.3 - 2D and 3D Linear Geometry Kernel



A model of this concept must provide:

Kernel::Vector_3 operator() (const Kernel::Point_3 &a, const Kernel::Point_3 &b)
 introduces the vector b-a.
Kernel::Vector_3 operator() (const CGAL::Origin &o, const Kernel::Point_3 &b)
 introduces the vector b.
Kernel::Vector_3 operator() (const Kernel::Point_3 &a, const CGAL::Origin &o)
 introduces the vector -a.
Kernel::Vector_3 operator() (const Kernel::Segment_3 &s)
 introduces the vector s.target()-s.source().
Kernel::Vector_3 operator() (const Kernel::Ray_3 &r)
 introduces a vector having the same direction as r.
Kernel::Vector_3 operator() (const Kernel::Line_3 &l)
 introduces a vector having the same direction as l.
Kernel::Vector_3 operator() (const Null_vector &NULL_VECTOR)
 introduces a null vector .