CGAL 5.1.2 - 2D Arrangements
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. More...
 

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 swaped if they do not conform to the direction of the polycurve.