Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] A simple question to get started with CGAL
- Date: Mon, 28 Apr 2008 10:30:02 +0200
Hi Calvin,
You only can write
mylocation = Point_2(10, mylocation.y());
The reason is that we have reference counted and non-reference
counted objects, and the former then would need a copy on write
functionality.
andreas
wrote:
Hi all,
I am just getting started with knowing how to use CGAL, and I'm particularly puzzled about something. In the class Point_2 , or whichever class that defines the location/position of a geometric primitive, is it possible to change the position of the class?
Like for instance,
Point_2 myLocation(5,0);
myLocation.x = 10;
Can i do something like this in CGAL? Thanks if anyone can provide me with an answer on this.
regards
Calvin
- A simple question to get started with CGAL, calvin_cw, 04/28/2008
- Re: [cgal-discuss] A simple question to get started with CGAL, Andreas Fabri, 04/28/2008
- Re: [cgal-discuss] A simple question to get started with CGAL, Daniel Duque Campayo, 04/28/2008
- RE: [cgal-discuss] A simple question to get started with CGAL, Calvin Lim, 04/29/2008
- Re: [cgal-discuss] A simple question to get started with CGAL, Andreas Fabri, 04/28/2008
Archive powered by MHonArc 2.6.16.