\( \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.8.1 - 2D and 3D Linear Geometry Kernel
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Kernel::ConstructLine_2 Concept Reference

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

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.