|
CGAL 6.0 - 2D Arrangements
|
#include <CGAL/Arr_polycurve_traits_2.h>
Functor to augment a polycurve by either adding a vertex or a subcurve at the front.
Operations | |
| void | operator() (Curve_2 &cv, const Subcurve_2 &subcurve) const |
Append a subcurve subcurve to an existing polycurve cv at the front. | |
| 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 front. | |
| void CGAL::Arr_polycurve_traits_2< SubcurveTraits_2 >::Push_front_2::operator() | ( | Curve_2 & | cv, |
| const Subcurve_2 & | subcurve | ||
| ) | const |
Append a subcurve subcurve to an existing polycurve cv at the front.
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_front_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 front.
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 left if xcv is oriented right-to-left. Otherwise, subcurve extends xcv to the right. subcurve is not degenerated. xcv and subcurve should have the same orientation