But if setBoundsAutoCompute is true, these might not be the real ones.  I've
been using the Sun Box primitive, and getBounds returns a sphere!

If you set the bounds when you create the object, after
setBoundsAutoCompute(false), then it works.

Tony

-----Original Message-----
From: Georg Rehfeld [mailto:[EMAIL PROTECTED]]
Sent: 03 July 2002 18:16
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] bounding volume - a simple question


Hi Lan,

> How can I get the bounding volume of an object in java3d?

try Node.getBounds()

regards

Georg
 ___   ___
| + | |__    Georg Rehfeld      Woltmanstr. 12     20097 Hamburg
|_|_\ |___   [EMAIL PROTECTED]           +49 (40) 23 53 27 10

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