CGAL 5.5.2 - 2D Arrangements
ArrTraits::Split_2 Concept Reference

Definition

Operations

A model of this concept must provide:

void operator() (ArrTraits::X_monotone_curve_2 xc, ArrTraits::Point_2 p, ArrTraits::X_monotone_curve_2 &xc1, ArrTraits::X_monotone_curve_2 &xc2)
 accepts an input curve xc and a split point p in its interior. More...
 

Member Function Documentation

◆ operator()()

void ArrTraits::Split_2::operator() ( ArrTraits::X_monotone_curve_2  xc,
ArrTraits::Point_2  p,
ArrTraits::X_monotone_curve_2 &  xc1,
ArrTraits::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.