>Vector3d vector = new Vector3d();
>Point3d[] El = new Point3d[]{Pnt,Pnt1};
>vector .addElement(El);
>
>Point3d[] El1 = new Point3d[]{Pnt,Pnt1};
>
>I need to obtain true if El1 = El, can anyone suggest the way ?
>

Are you trying to see the arrays E1 and E11 are equal ? If so, try:
    Arrays.equals( E1, E11 )

Point3d class overrides "equals" method of Object; two Point3d's will
be equal iff they conatin identical values for its elements.

Hope this helps

Raj Vaidya, PhD

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