CGAL 6.1.2 - 2D and 3D Linear Geometry Kernel

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

## Definition

Refines
  `AdaptableBinaryFunction`

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

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