CGAL 6.2 - 2D and 3D Linear Geometry Kernel

Loading...
Searching...
No Matches
List of all members
Kernel::ConstructLine_3 Concept Reference
Reference Manual » Concepts » Kernel Function Object Concepts

## Definition

Refines
  `AdaptableBinaryFunction`

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`.
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`.