CGAL 5.6.1 - 2D Arrangements
CGAL::Arr_conic_traits_2< RatKernel, AlgKernel, NtTraits >::Trim_2 Class Reference

#include <CGAL/Arr_conic_traits_2.h>

Definition

A functor that trims a conic arc.

Public Member Functions

X_monotone_curve_2 operator() (const X_monotone_curve_2 &xcv, const Point_2 &source, const Point_2 &target) const
 Trims the given \(x\)-monotone arc to new endpoints. More...
 

Member Function Documentation

◆ operator()()

template<typename RatKernel , typename AlgKernel , typename NtTraits >
X_monotone_curve_2 CGAL::Arr_conic_traits_2< RatKernel, AlgKernel, NtTraits >::Trim_2::operator() ( const X_monotone_curve_2 xcv,
const Point_2 source,
const Point_2 target 
) const

Trims the given \(x\)-monotone arc to new endpoints.

Parameters
xcvThe \(x\)-monotone arc
sourceThe new source point.
targetThe new target point.
Precondition
source and target lies on the arc.