CGAL 6.1 - 2D and 3D Linear Geometry Kernel
Loading...
Searching...
No Matches

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

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.