CGAL 5.4.2 - 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.