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".