Hello,
I would like to retreive the real bounding region of a certain branch group.
Not the bounding SQUARE box. But the rectangle box.
I use the following command :
BoundingBox lBox = new BoundingBox( myBG.getBounds() );
But the Bounding Box is a square Box. The geometry defined inside the "myBG"
Group node, doesn't fit best in a square box but in a rectangular box. I wan't
to create a geometric box just outside the geometry that I have in the "myBG".
It's difficult for me to get the actual points when the goemetry is being
loaded. So I was wondering if there is was a way to get the upper point and the
lower point of the rectangulare region that englobes ?
Here is a small graphical explanation ( the equals inside the box represent the
geometry ).
The BoundingBox gives me this type of region,
+-------------------------+
+ +
+ +
+ +
+ ========== +
+ =================== +
+ ========== +
+ +
+ +
+ +
+-------------------------+
But this is how the bounding "rectangle" should be; to fit has possible the
geometry.
+-------------------------+
+ ========== +
+ =================== +
+ ========== +
+-------------------------+
Thank you for your help and your time,
Vincent St-Amour
Montreal
===========================================================================
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".