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: Ankit Gupta <>
  • To:
  • Subject: Re: [cgal-discuss] Comparing two Direction elements in 3D
  • Date: Fri, 08 Jun 2007 18:24:21 +0200

Sylvain Pion wrote:

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.

Sorry. My mistake. It works fine.

Ankit.



Archive powered by MHonArc 2.6.16.

Top of Page