CGAL 5.1 - 2D and 3D Linear Geometry Kernel

#include <Concepts/FunctionObjectConcepts.h>

Definition

Refines:
AdaptableFunctor (with two arguments)
See also
CGAL::Line_2<Kernel>
CGAL::Ray_2<Kernel>
CGAL::Segment_2<Kernel>

Operations

A model of this concept must provide:

bool operator() (const Kernel::Line_2 &l, const Kernel::Point_2 &p)
 returns true iff p lies on l. More...
 
bool operator() (const Kernel::Ray_2 &r, const Kernel::Point_2 &p)
 returns true iff p lies on r. More...
 
bool operator() (const Kernel::Segment_2 &s, const Kernel::Point_2 &p)
 returns true iff p lies on s. More...
 

Member Function Documentation

◆ operator()() [1/3]

bool Kernel::HasOn_2::operator() ( const Kernel::Line_2 l,
const Kernel::Point_2 p 
)

returns true iff p lies on l.

◆ operator()() [2/3]

bool Kernel::HasOn_2::operator() ( const Kernel::Ray_2 r,
const Kernel::Point_2 p 
)

returns true iff p lies on r.

◆ operator()() [3/3]

bool Kernel::HasOn_2::operator() ( const Kernel::Segment_2 s,
const Kernel::Point_2 p 
)

returns true iff p lies on s.