I have a complicated subgraph and I do not know the structure or
the contents of the subgraph. I need to get a bounding extent of
all the elements in the subgraph. How do I do this? Any and all
help much appreciated.

- Victor

Note : Tried using Node.getBounds() but it doesn't seem to work.
For example

Cone cone = new Cone( 5.0, 10.0 ) ;
cone.setCapability( Node.ALLOW_BOUNDS_READ ) ;
cone.setCapability( Node.ALLOW_BOUNDS_WRITE ) ;
cone.setCapability( Node.ALLOW_AUTO_COMPUTE_BOUNDS_WRITE ) ;
cone.setBoundsAutoCompute( true ) ;
Bounds b = cone.getBounds() ;
BoundingBox bbox( b ) ;

bbox ends up being a box from (-1,-1,-1) to (1,1,1).
Not what I expected.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

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