CGAL 5.1 - 2D and 3D Linear Geometry Kernel
Kernel::ConstructProjectedPoint_2 Class Reference

#include <Concepts/FunctionObjectConcepts.h>

Definition

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

Operations

A model of this concept must provide:

Kernel::Point_2 operator() (const Kernel::Line_2 &l, const Kernel::Point_2 &p)
 returns the orthogonal projection of p onto l. More...
 

Member Function Documentation

◆ operator()()

Kernel::Point_2 Kernel::ConstructProjectedPoint_2::operator() ( const Kernel::Line_2 l,
const Kernel::Point_2 p 
)

returns the orthogonal projection of p onto l.