Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Comparing two Direction elements in 3D

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Comparing two Direction elements in 3D


Chronological Thread 
  • From: Sylvain Pion <>
  • To:
  • Subject: Re: [cgal-discuss] Comparing two Direction elements in 3D
  • Date: Fri, 08 Jun 2007 17:26:29 +0200
  • Organization: INRIA

Ankit Gupta a écrit :
How does the overloaded == operator work for comparing two Direction_3 objects? While using it, I inferred that it simply compares the x,y and z components of the direction without normalizing them! I don't think it should be so.

Test-case please ?

Note that directions have an orientation, in the sense that opposite
directions do not compare equal.

--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/



Archive powered by MHonArc 2.6.16.

Top of Page