CGAL 5.6 - 2D Arrangements
Loading...
Searching...
No Matches
CGAL::Arr_segment_traits_2< Kernel >::Trim_2 Class Reference

#include <CGAL/Arr_segment_traits_2.h>

Definition

template<typename Kernel>
class CGAL::Arr_segment_traits_2< Kernel >::Trim_2

A functor that trims curves.

Creation

 X_monotone_curve_2 (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

◆ X_monotone_curve_2()

template<typename Kernel >
CGAL::Arr_segment_traits_2< Kernel >::Trim_2::X_monotone_curve_2 ( 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