## "Fossies" - the Fresh Open Source Software Archive

### Member "doc_html/Kernel_23/classKernel_1_1ConstructVertex__3.html" (8 Nov 2019, 17961 Bytes) of package /linux/misc/CGAL-5.0-doc_html.tar.xz:

Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the project site itself.

 CGAL 5.0 - 2D and 3D Linear Geometry Kernel
Kernel::ConstructVertex_3 Concept Reference

## Definition

Refines:
AdaptableFunctor (with two arguments)
CGAL::Iso_cuboid_3<Kernel>
CGAL::Segment_3<Kernel>
CGAL::Tetrahedron_3<Kernel>
CGAL::Triangle_3<Kernel>

## Operations

A model of this concept must provide:

Kernel::Point_3 operator() (const 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. More...

Kernel::Point_3 operator() (const Kernel::Iso_cuboid_3 &c, int i)
returns the i'th vertex of c, as indicated in the figure below. More...

Kernel::Point_3 operator() (const Kernel::Triangle_3 &t, int i)
returns the i'th vertex of t. More...

Kernel::Point_3 operator() (const Kernel::Tetrahedron_3 &t, int i)
returns the i'th vertex of t. More...

## ◆ operator()() [1/4]

 Kernel::Point_3 Kernel::ConstructVertex_3::operator() ( const 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.

## ◆ operator()() [2/4]

 Kernel::Point_3 Kernel::ConstructVertex_3::operator() ( const 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.

## ◆ operator()() [3/4]

 Kernel::Point_3 Kernel::ConstructVertex_3::operator() ( const Kernel::Triangle_3 & t, int i )

returns the i'th vertex of t.

The parameter i is taken modulo 3.

## ◆ operator()() [4/4]

 Kernel::Point_3 Kernel::ConstructVertex_3::operator() ( const Kernel::Tetrahedron_3 & t, int i )

returns the i'th vertex of t.

The parameter i is taken modulo 4.