CGAL 5.1 - 2D and 3D Linear Geometry Kernel

Point_2< Kerneloperator- (const Point_2< Kernel > &p, const Vector_2< Kernel > &v)
 returns the point obtained by translating p by the vector -v. More...
 
Point_3< Kerneloperator- (const Point_3< Kernel > &p, const Vector_3< Kernel > &v)
 returns the point obtained by translating p by the vector -v. More...
 

Function Documentation

◆ operator-() [1/2]

template<typename Kernel >
Point_2< Kernel > operator- ( const Point_2< Kernel > &  p,
const Vector_2< Kernel > &  v 
)
related

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

◆ operator-() [2/2]

template<typename Kernel >
Point_3< Kernel > operator- ( const Point_3< Kernel > &  p,
const Vector_3< Kernel > &  v 
)
related

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