Kernel::ConstructVertex_2

A model for this must provide:

Kernel::Point_2 fo.operator() ( 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 fo.operator() ( 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 fo.operator() ( Kernel::Triangle_2 t, int i)
returns the i'th vertex of t. The parameter i is taken modulo 3.

Refines

AdaptableFunctor (with two arguments)

See Also

CGAL::Iso_rectangle_2<Kernel>
CGAL::Segment_2<Kernel>
CGAL::Triangle_2<Kernel>