CGAL 6.1.1 - 2D Arrangements

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

## Definition

Refines
  `Functor`

Has models
  `AosXMonotoneTraits_2::Merge_2`

## Operations
A model of this concept must provide:
void | merge (AosTraits::X_monotone_curve_2 xc1, AosTraits::X_monotone_curve_2 xc2, AosTraits::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 AosTraits::Merge_2::merge | ( | AosTraits::X_monotone_curve_2 | xc1,
|  | AosTraits::X_monotone_curve_2 | xc2,
|  | AosTraits::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.