Nick Collier wrote:
Thanks. You are, of course, correct. I guess what I'm asking is how much
"housekeeping" I have to do myself. If I translate the spheres in the
space, is there some method I can use to get the new center point of the
sphere (e.g. sphere.getCenter()) or do I have to translate the sphere
and also translate the center point as well?


You can do something like this


Point3f pos = new Point3f();
Transform3D tr = new Transform3D();
sphere.getLocalToVworld(tr);
tr.transform(pos);

In pos you'll find the center of the coord system where the sphere is.
If the sphere is centered around the origin, true for sun.utils.Sphere,
you have the sphere center.


Bye



Lorenzo


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