FunctionObjectConcept

Kernel::ConstructVertex_3

A model for this must provide:

Kernel::Point_3 fo.operator() ( Kernel::Segment_3 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_3 fo.operator() ( Kernel::Iso_cuboid_3 c, int i)
returns the i'th vertex of c, as indicated in the figure below. The parameter i is taken modulo 8.

vertex order of an iso-cuboid

Kernel::Point_3 fo.operator() ( Kernel::Triangle_3 t, int i)
returns the i'th vertex of t. The parameter i is taken modulo 3.

Kernel::Point_3 fo.operator() ( Kernel::Tetrahedron_3 t, int i)
returns the i'th vertex of t. The parameter i is taken modulo 4.

Refines

AdaptableFunctor (with two arguments)

See Also

CGAL::Iso_cuboid_3<Kernel>
CGAL::Segment_3<Kernel>
CGAL::Tetrahedron_3<Kernel>
CGAL::Triangle_3<Kernel>