Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Beginner questions

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Beginner questions


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Beginner questions
  • Date: Thu, 22 Mar 2012 16:58:53 +0100

On 03/22/2012 01:33 PM, smurf wrote:
Hi,

I would like to do some operations with Vector_2 and I would like to
know if there is * normalize_2 * function or should I do this manually. I
wanted to double check because I couldnt find anything explicit in the
online documentation.

Kind regards,
Andrei

--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Beginner-questions-tp4495335p4495335.html
Sent from the cgal-discuss mailing list archive at Nabble.com.

we don't have a function doing it because that would need sqrt (which is not available for all number types).

However Vector_2 has a squared_length() function and operator/ is also defined.

http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Kernel_23_ref/Class_Vector_2.html

Sebastien.



Archive powered by MHonArc 2.6.16.

Top of Page