CGAL 4.7 - 2D Arrangements: ArrTraits::AreMergeable_2 Concept Reference

\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)

CGAL 4.7 - 2D Arrangements

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
List of all members
ArrTraits::AreMergeable_2 Concept Reference
Function Object Concepts

## Definition

Refines:
  Functor

Has Models:
  ArrangementXMonotoneTraits_2::Are_mergeable_2

## Operations

A model of this concept must provide:
bool | operator() (ArrTraits::X_monotone_curve_2 xc1, ArrTraits::X_monotone_curve_2 xc2)
| accepts two \( x\)-monotone curves `xc1` and `xc2` and determines whether they can be merged to form a single \( x\)-monotone curve. More...

## Member Function Documentation

bool ArrTraits::AreMergeable_2::operator() | ( | ArrTraits::X_monotone_curve_2 | xc1,
|  | ArrTraits::X_monotone_curve_2 | xc2
| ) |  |

accepts two \( x\)-monotone curves `xc1` and `xc2` and determines whether they can be merged to form a single \( x\)-monotone curve.

`xc1` and `xc2` are mergeable if their underlying curves are identical, they share a common endpoint, and they do not bend to form a non- \( x\)-monotone curve.