\( \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.12.1 - 2D and 3D Linear Geometry Kernel

Definition

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

Operations

A model of this concept must provide:

Kernel::Segment_2 operator() (const Kernel::Point_2 &p, const Kernel::Point_2 &q)
 introduces a segment with source p and target q. More...
 

Member Function Documentation

◆ operator()()

Kernel::Segment_2 Kernel::ConstructSegment_2::operator() ( const Kernel::Point_2 p,
const Kernel::Point_2 q 
)

introduces a segment with source p and target q.

The segment is directed from the source towards the target.