CGAL 5.0.2 - 2D Arrangements
|
#include <CGAL/Arr_polycurve_traits_2.h>
Functor to augment a polycurve by either adding a vertex or a subcurve at the back.
Operations | |
void | operator() (Curve_2 &cv, const Subcurve_2 &subcurve) const |
Append a subcurve subcurve to an existing polycurve cv at the back. More... | |
void | operator() (X_monotone_curve_2 &xcv, const X_monotone_subcurve_2 &subcurve) const |
Append a subcurve subcurve to an existing \(x\)-monotone polycurve xcv at the back. More... | |
void CGAL::Arr_polycurve_traits_2< SubcurveTraits_2 >::Push_back_2::operator() | ( | Curve_2 & | cv, |
const Subcurve_2 & | subcurve | ||
) | const |
Append a subcurve subcurve
to an existing polycurve cv
at the back.
If cv
is empty, subcurve
will be its first subcurve.
cv | a polycurve. Note, cv is (not necessarily) \(x\)-monotone. |
subcurve | a subcurve (not necessarily \(x\)-monotone) to be appended to cv |
void CGAL::Arr_polycurve_traits_2< SubcurveTraits_2 >::Push_back_2::operator() | ( | X_monotone_curve_2 & | xcv, |
const X_monotone_subcurve_2 & | subcurve | ||
) | const |
Append a subcurve subcurve
to an existing \(x\)-monotone polycurve xcv
at the back.
If xcv
is empty, subcurve
will be its first subcurve.
xcv | existing \(x\)-monotone polycurve |
subcurve | the subcurve to be added |
xcv
is not empty then subcurve
extends xcv
to the right if xcv
is oriented right-to-left. Otherwise, subcurve
extends xcv
to the left. subcurve
is not degenerated. xcv
and subcurve
should have the same orientation