I use
a simplistic approach...
I take
the maximum value of the maxX and maxY extents of the Shape3D and then multiply
that by 2 and set the Z to the negative of this value.
Cheers, -----Original Message-----
From: K.R.Karthikeyan [mailto:[EMAIL PROTECTED]] Sent: 16 May 2001 13:59 To: [EMAIL PROTECTED] Subject: [JAVA3D] Fit to the Panel Hai ,
I want a function which should make my Shape3D
fully visible on the Canvas3D.
In my Application i can Zoomin or
Zoomout my Graphics by Clicking the Corresponding buttons.
Like this i want a function to make a full view of
my Shape3D. ( the shape will be of any width and height )
Any Suggestions will be helpful to me
.
Karthiks
|
- [JAVA3D] Fit to the Panel K.R.Karthikeyan
- Re: [JAVA3D] Fit to the Panel Crossley, Allistair
- Re: [JAVA3D] Fit to the Panel Paul Byrne