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

#include <Concepts/FunctionObjectConcepts.h>

Definition

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

Operations

A model of this concept must provide:

Kernel::Point_2 operator() (const Kernel::Point_2 &p, const Kernel::Vector_2 &v)
 returns the point obtained by translating p by the vector v. More...
 
Kernel::Point_2 operator() (const CGAL::Origin &o, const Kernel::Vector_2 &v)
 returns the point obtained by translating a point at the origin by the vector v. More...
 

Member Function Documentation

◆ operator()() [1/2]

Kernel::Point_2 Kernel::ConstructTranslatedPoint_2::operator() ( const CGAL::Origin o,
const Kernel::Vector_2 v 
)

returns the point obtained by translating a point at the origin by the vector v.

◆ operator()() [2/2]

Kernel::Point_2 Kernel::ConstructTranslatedPoint_2::operator() ( const Kernel::Point_2 p,
const Kernel::Vector_2 v 
)

returns the point obtained by translating p by the vector v.