CGAL 6.2 - 2D Arrangements

Loading...
Searching...
No Matches
List of all members
CGAL::Arr_linear_traits_2< Kernel >::Trim_2 Class Reference

`#include <CGAL/Arr_linear_traits_2.h>`

## Creation
X_monotone_curve_2 | operator() (const X_monotone_curve_2 &xcv, const Point_2 &src, const Point_2 &tgt) const
| trims the given \(x\)-monotone curve to an from `src` to `tgt`.

## Member Function Documentation

## ◆ operator()()

template<typename Kernel >

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

trims the given \(x\)-monotone curve to an from `src` to `tgt`.

\ pre `src` and `tgt` lies on the curve