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

CGAL::ORIGIN

const Origin ORIGIN;

Definition

A symbolic constant which denotes the point at the origin. This constant is used in the conversion between points and vectors.

Example

  Point_2< Cartesian<Exact_NT> >  p(1.0, 1.0), q;
  Vector2< Cartesian<Exact_NT> >  v;
  v = p - ORIGIN;
  q = ORIGIN + v;  
  assert( p == q );

See Also

CGAL::Point_2<R>
CGAL::Point_3<R>


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