Skip to Content.
Sympa Menu

cgal-discuss - RE: [cgal-discuss] A simple question to get started with CGAL

Subject: CGAL users discussion list

List archive

RE: [cgal-discuss] A simple question to get started with CGAL


Chronological Thread 
  • From: Calvin Lim <>
  • To: <>
  • Subject: RE: [cgal-discuss] A simple question to get started with CGAL
  • Date: Tue, 29 Apr 2008 02:35:48 +0000
  • Importance: Normal

 
> 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
>

Hi Andreas,
 
    Thanks for the prompt reply. Appreciate it very much. I know that if you use
CGAL::cartesian<double> , it is using reference counted, but if you use
CGAL::simple_cartesian<double>, it is not using reference counting. But still, it does not provide me with
anyway to change the location/position of that vector or point_2 easily.
 
I am trying to code a movable mesh application, and required that points in the triangulation move around their physical position, hence trying to figure out how to make them change their location/position easily.
 
Thanks in advance to anyone who can provide me with any insight, thanks!
 
regards
Calvin



Share life's special moments with Photo Gallery. Windows Live Photo Gallery



Archive powered by MHonArc 2.6.16.

Top of Page