Function

CGAL::operator-

Vector_2<Kernel> operator- ( Point_2<Kernel> p, Point_2<Kernel> q)
returns the difference vector between q and p. You can substitute ORIGIN for either p or q ,but not for both.

Point_2<Kernel> operator- ( Point_2<Kernel> p, Vector_2<Kernel> v)
returns the point obtained by translating p by the vector -v.

Vector_3<Kernel> operator- ( Point_3<Kernel> p, Point_3<Kernel> q)
returns the difference vector between q and p. You can substitute ORIGIN for either p or q, but not both.

Point_3<Kernel> operator- ( Point_3<Kernel> p, Vector_3<Kernel> v)
returns a point obtained by translating p by the vector -v.

See Also

CGAL::operator+
CGAL::operator*