CGAL 6.0.2 - 2D and 3D Linear Geometry Kernel

Loading...
Searching...
No Matches
List of all members
Kernel::ConstructVector_2 Concept Reference
2D and 3D Linear Geometry Kernel Reference » Concepts » Kernel Function Object Concepts

## Definition

Refines
  `AdaptableBinaryFunction`

See also
  `CGAL::Vector_2<Kernel>`
  `Kernel::ConstructScaledVector_2`

## Operations
A model of this concept must provide:
Kernel::Vector_2 | operator() (const Kernel::Point_2 &a, const Kernel::Point_2 &b)
| introduces the vector `b-a`.
Kernel::Vector_2 | operator() (const CGAL::Origin &o, const Kernel::Point_2 &b)
| introduces the vector `b`.
Kernel::Vector_2 | operator() (const Kernel::Point_2 &a, const CGAL::Origin &o)
| introduces the vector `-a`.
Kernel::Vector_2 | operator() (const Kernel::Segment_2 &s)
| introduces the vector `s.target()-s.source()`.
Kernel::Vector_2 | operator() (const Kernel::Ray_2 &r)
| introduces a vector having the same direction as `r`.
Kernel::Vector_2 | operator() (const Kernel::Line_2 &l)
| introduces a vector having the same direction as `l`.
Kernel::Vector_2 | operator() (const Null_vector &NULL_VECTOR)
| introduces a null vector.