CGAL 6.0 - 2D Arrangements
Loading...
Searching...
No Matches
ArrTraits::Merge_2 Concept Reference

Definition

Refines
Functor
Has models
ArrangementXMonotoneTraits_2::Merge_2

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.
 

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.