Navigation: Up, Table of Contents, Bibliography, Index, Title Page

CGAL::operator-

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

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

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

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

See Also

CGAL::operator+
CGAL::operator*


Next: operator*
Navigation: Up, Table of Contents, Bibliography, Index, Title Page
www.cgal.org. Aug 13, 2001.