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

### Member "doc_html/Kernel_23/classKernel_1_1ConstructPointOn__3.html" (8 Nov 2019, 17264 Bytes) of package /linux/misc/CGAL-4.14.2-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 CGAL-4.14.2-doc_html.tar.xz project site itself.

 CGAL 4.14.2 - 2D and 3D Linear Geometry Kernel
Kernel::ConstructPointOn_3 Concept Reference

## Definition

Refines:
AdaptableFunctor (with two arguments)
CGAL::Line_3<Kernel>
CGAL::Plane_3<Kernel>
CGAL::Ray_3<Kernel>
CGAL::Segment_3<Kernel>

## Operations

A model of this concept must provide:

Kernel::Point_3 operator() (const Kernel::Line_3 &l, const Kernel::FT i)
returns an arbitrary point on l. More...

Kernel::Point_3 operator() (const Kernel::Plane_3 &h)
returns an arbitrary point on h.

Kernel::Point_3 operator() (const Kernel::Ray_3 &r, const Kernel::FT i)
returns a point on r. More...

Kernel::Point_3 operator() (const Kernel::Segment_3 &s, int i)
returns source or target of s: point(0) returns the source of s, point(1) returns the target of s. More...

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

 Kernel::Point_3 Kernel::ConstructPointOn_3::operator() ( const Kernel::Line_3 & l, const Kernel::FT i )

returns an arbitrary point on l.

It holds point(i) == point(j), iff i==j. Furthermore, is directed from point(i) to point(j), for all i < j.

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

 Kernel::Point_3 Kernel::ConstructPointOn_3::operator() ( const Kernel::Ray_3 & r, const Kernel::FT i )

returns a point on r.

point(0) is the source, point(i), with i>0, is different from the source.

Precondition
i >= 0.

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

 Kernel::Point_3 Kernel::ConstructPointOn_3::operator() ( const Kernel::Segment_3 & s, int i )

returns source or target of s: point(0) returns the source of s, point(1) returns the target of s.

The parameter i is taken modulo 2, which gives easy access to the other end point.