CGAL 5.2.1 - 2D and 3D Linear Geometry Kernel
|
AdaptableFunctor
(with two arguments)Operations | |
Kernel::Point_2 | operator() (const Kernel::Segment_2 &s, int i) |
returns source or target of s : fo (s,0) returns the source of s , fo (s,1) returns the target of s . More... | |
Kernel::Point_2 | operator() (const Kernel::Iso_rectangle_2 &r, int i) |
returns the i'th vertex of r in counterclockwise order, starting with the lower left vertex. More... | |
Kernel::Point_2 | operator() (const Kernel::Triangle_2 &t, int i) |
returns the i'th vertex of t . More... | |
Kernel::Point_2 Kernel::ConstructVertex_2::operator() | ( | const Kernel::Segment_2 & | s, |
int | i | ||
) |
returns source or target of s
: fo
(s,0)
returns the source of s
, fo
(s,1)
returns the target of s
.
The parameter i
is taken modulo 2.
Kernel::Point_2 Kernel::ConstructVertex_2::operator() | ( | const Kernel::Iso_rectangle_2 & | r, |
int | i | ||
) |
returns the i'th vertex of r
in counterclockwise order, starting with the lower left vertex.
The parameter i
is taken modulo 4.
Kernel::Point_2 Kernel::ConstructVertex_2::operator() | ( | const Kernel::Triangle_2 & | t, |
int | i | ||
) |
returns the i'th vertex of t
.
The parameter i
is taken modulo 3.