CGAL 5.6.3 - 2D Arrangements

Loading...
Searching...
No Matches
List of all members | Public Member Functions
CGAL::Arr_polycurve_traits_2< SubcurveTraits_2 >::Trim_2 Class Reference

`#include <CGAL/Arr_polycurve_traits_2.h>`

## Public Member Functions
X_monotone_curve_2 | operator() (const X_monotone_curve_2 &xcv, const Point_2 &src, const Point_2 &tgt) const
| Obtain a trimmed version of the polycurve with src and tgt as end vertices.

## Member Function Documentation

## ◆ operator()()

template<typename SubcurveTraits_2 >

X_monotone_curve_2 CGAL::Arr_polycurve_traits_2< SubcurveTraits_2 >::Trim_2::operator() | ( | const X_monotone_curve_2 & | xcv,
|  | const Point_2 & | src,
|  | const Point_2 & | tgt
| ) |  | const

Obtain a trimmed version of the polycurve with src and tgt as end vertices.

Src and tgt will be swapped if they do not conform to the direction of the polycurve.