CGAL 5.4 - 2D and 3D Linear Geometry Kernel

Definition

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

Operations

A model of this concept must provide:

Kernel::Line_2 operator() (const Kernel::Point_2 &p, const Kernel::Point_2 &q)
 introduces a line passing through the points p and q. More...
 
Kernel::Line_2 operator() (const Kernel::Point_2 &p, const Kernel::Direction_2 &d)
 introduces a line passing through point p with direction d.
 
Kernel::Line_2 operator() (const Kernel::Point_2 &p, const Kernel::Vector_2 &v)
 introduces a line passing through point p and oriented by v.
 
Kernel::Line_2 operator() (const Kernel::Segment_2 &s)
 introduces a line supporting the segment s, oriented from source to target.
 
Kernel::Line_2 operator() (const Kernel::Ray_2 &r)
 introduces a line supporting the ray r, with same orientation.
 

Member Function Documentation

◆ operator()()

Kernel::Line_2 Kernel::ConstructLine_2::operator() ( const Kernel::Point_2 p,
const Kernel::Point_2 q 
)

introduces a line passing through the points p and q.

Line is directed from p to q.