\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.14 - 2D and 3D Linear Geometry Kernel

Definition

Refines:
AdaptableFunctor (with two arguments)
See also
CGAL::Line_3<Kernel>

Operations

A model of this concept must provide:

Kernel::Line_3 operator() (const Kernel::Point_3 &p, const Kernel::Point_3 &q)
 introduces a line passing through the points p and q. More...
 
Kernel::Line_3 operator() (const Kernel::Point_3 &p, const Kernel::Vector_3 &v)
 introduces a line passing through point p and oriented by v.
 
Kernel::Line_3 operator() (const Kernel::Point_3 &p, const Kernel::Direction_3 &d)
 introduces a line passing through point p with direction d.
 
Kernel::Line_3 operator() (const Kernel::Segment_3 &s)
 returns the line supporting the segment s, oriented from source to target.
 
Kernel::Line_3 operator() (const Kernel::Ray_3 &r)
 returns the line supporting the ray r, with the same orientation.
 

Member Function Documentation

◆ operator()()

Kernel::Line_3 Kernel::ConstructLine_3::operator() ( const Kernel::Point_3 p,
const Kernel::Point_3 q 
)

introduces a line passing through the points p and q.

Line is directed from p to q.