Subject: CGAL users discussion list
List archive
- From: Samuel Hornus <>
- To:
- Subject: Re: [cgal-discuss] Move a point
- Date: Wed, 3 Sep 2008 18:17:34 +0200
- Organization: INRIA
"Michael Schmidt"
<>
wrote:
> Is there a way to do this, without changing one of the CGAL's files?
Yes, you can do something like:
typedef CGAL::Cartesian<double> K;
typedef K::Point_2 Point_2;
typedef K::Vector_2 Vector_2;
Point_2 my_Point(0,0);
Vector_2 d(1,2);
my_point = my_point + d;
CGAL's Point class(es) do not allow modification of individual
coordinates.
Regards,
sam
- [cgal-discuss] Move a point, Michael Schmidt, 09/03/2008
- Re: [cgal-discuss] Move a point, Sebastien Loriot, 09/03/2008
- RE: [cgal-discuss] Move a point, Calvin Lim, 09/03/2008
- Re: [cgal-discuss] Move a point, Samuel Hornus, 09/03/2008
Archive powered by MHonArc 2.6.16.