Hello,

You might consider using the method called epsilonEquals(...) instead of
the method equals().  This will allow you to have some threshold for
being able to declare two vectors are equal.  Hope this helps.

-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] On Behalf Of Flavius
Sent: Saturday, December 27, 2003 2:35 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] class vector3f equals() question

I was just wondering..the method equals() that compares two
vectors...does
it says it compare all the values of the vector..but what values are
those??

Does it compare the length, direction and?

I kinda need to compare two vectors and see if the lenght and direction
are
the same, but it should matter where the vector is in space, as long as
the
lenght and direction are the same, i.e. two parallell lines (vectors)...

Thank you

========================================================================
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
of the message "signoff JAVA3D-INTEREST".  For general help, send email
to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to