CGAL 5.6.2 - 2D Arrangements
ArrTraits::Merge_2 Concept Reference

Definition

Operations

A model of this concept must provide:

void merge (ArrTraits::X_monotone_curve_2 xc1, ArrTraits::X_monotone_curve_2 xc2, ArrTraits::X_monotone_curve_2 &xc)
 accepts two mergeable \( x\)-monotone curves xc1 and xc2 and assigns xc with the merged curve. More...
 

Member Function Documentation

◆ merge()

void ArrTraits::Merge_2::merge ( ArrTraits::X_monotone_curve_2  xc1,
ArrTraits::X_monotone_curve_2  xc2,
ArrTraits::X_monotone_curve_2 &  xc 
)

accepts two mergeable \( x\)-monotone curves xc1 and xc2 and assigns xc with the merged curve.

Precondition
are_mergeable_2(xc1, xc2) is true.