Hi Vahe,

   From the line number, it seems you are still using Java3D v1.1.3

This bug ID 4403640 -

BoundingPolytope computeVertex() throws ArrayIndexOutOfBoundsException

is already fixed in v1.2.1 release.

Thanks.

- Kelvin
-----------
Java 3D Team
Sun Microsystems Inc.

>X-Unix-From: [EMAIL PROTECTED]  Thu Apr  5 21:15:12 2001
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>Date: Thu, 5 Apr 2001 21:00:15 -0700
>From: Vahe Shahinian <[EMAIL PROTECTED]>
>Subject: [JAVA3D] BoundingPolytope problem
>To: [EMAIL PROTECTED]
>
>Hello,
>I have a BoundingPolytope problem, and I would appreciate any help/suggestions.
>
>When passing an array of Vector4d[] to the constructor of the
>BoundingPolytope class. The array defines the planes of my 3D shape
>(which are simple prisms and pyramids).  Often right at the construction
>time I get the following out of bounds exception:
>
>        Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 12
>        at javax.media.j3d.BoundingPolytope.computeVertex(BoundingPolytope.java1322)
>        at 
>javax.media.j3d.BoundingPolytope.computeAllVerts(BoundingPolytope.java:1348)
>        at javax.media.j3d.BoundingPolytope.setPlanes(BoundingPolytope.java:298
>        at PrismPyramid.<init>(PrismPyramid.java:72)
>        at PrismPyramid.main(PrismPyramid.java:246)
>
>Now, I am sure that my planes are defined correctly, and the
>BoundingPolytope should be constructed just fine...  One thing I noticed
>is that this exception happens when my planes are very close to each
>other.  Does anyone have an idea about this, and a possible
>solution/suggestion? Is this a known bug?
>
>Thanks,
> Vahe
>
>===========================================================================
>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