Subject: CGAL users discussion list
List archive
- From: "Michael Schmidt" <>
- To:
- Subject: [cgal-discuss] Move a point
- Date: Wed, 3 Sep 2008 18:02:53 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=hOmZPEpBVCqQ6D0CYZdWcJ37YzHMhveRWtqVDBfkUOKD+cpjYeeCXxWZrUgNRAAApX HWrxKPiIbUUHykn6VZtCWkmg1bNPC8f0ApzTpL/YUOTI9kO7N3cNhGVYSdf71UC0DrUN yWARcqjW9eME1Yb77lMIRXBuO330lo3eFjts8=
Hi list,
actually this sounds like a pretty easy problem, but I don't have a clue how
to solve it.
I have a code like this and need to move the point to another position,
thus I
have to change the point's coordinates.
typedef CGAL::Cartesian<double> K;
typedef K::Point_2 Point_2;
Point_2 my_Point(0,0);
// This is how I'd like to hande it:
my_Point.setX(10);
my_Point.setY(10);
But I can't find any access functions for a Point_2.
Is there a way to do this, without changing one of the CGAL's files?
Thanks,
Michael
- [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.