CGAL 6.2 - 2D Arrangements: AosTraits::Split_2 Concept Reference

CGAL 6.2 - 2D Arrangements

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

## Definition

Refines
  `Functor`

Has models
  `AosXMonotoneTraits_2::Split_2`

## Operations
A model of this concept must provide:
void | operator() (AosTraits::X_monotone_curve_2 xc, AosTraits::Point_2 p, AosTraits::X_monotone_curve_2 &xc1, AosTraits::X_monotone_curve_2 &xc2)
| accepts an input curve `xc` and a split point `p` in its interior.

## Member Function Documentation

## ◆ operator()()

void AosTraits::Split_2::operator() | ( | AosTraits::X_monotone_curve_2 | xc,
|  | AosTraits::Point_2 | p,
|  | AosTraits::X_monotone_curve_2 & | xc1,
|  | AosTraits::X_monotone_curve_2 & | xc2
| ) |  |

accepts an input curve `xc` and a split point `p` in its interior.

It splits `xc` at the split point into two subcurves `xc1` and `xc2`, such that `p` is `xc1`'s right endpoint and `xc2`'s left endpoint.