|
CGAL 6.0 - 2D and 3D Linear Geometry Kernel
|
AdaptableUnaryFunction CGAL::Point_2<Kernel> Operations | |
A model of this concept must provide: | |
| Kernel::Point_2 | operator() (const CGAL::Origin &CGAL::ORIGIN) |
| introduces a variable with Cartesian coordinates \( (0,0)\). | |
| Kernel::Point_2 | operator() (const Kernel::Point_2 &p) |
returns p. | |
| Kernel::Point_2 | operator() (const Kernel::Weighted_point_2 &wp) |
| extracts the bare point from the weighted point. | |
| Kernel::Point_2 Kernel::ConstructPoint_2::operator() | ( | const Kernel::Point_2 & | p | ) |
returns p.
p to avoid useless copies.Point_2 or Weighted_point_2.