Hi

A Box, Cylinder, Cone, or any other class that extends Primitive (which
extends Group, by the way) is a collection of Shape3Ds. It cannot be
directly converted to a Shape3D.

In the case of a Box, it is made up of six seperate Shape3Ds. To retrieve
them, you call Box.getShape(int), using these class constants as inputs. The
method will return a shape3d with that face of the box. How you combine
those into one shape3d is up to you.

BACK
BOTTOM
FRONT
LEFT
RIGHT
TOP

B.D.


>From: "Tonz ." <[EMAIL PROTECTED]>
>Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [JAVA3D] transform Box intro Shape3D
>Date: Tue, 3 Jul 2001 00:46:33 -0000
>
>hi again
>    my question is
>           how can i transform Box ,Cylinder or Cone into Shape3D
>
>
>when i typed
>      Shape3D bb = new Box(0.1f,0.2f,0.3f,bappear);
>  i recieved compliation error
>please help
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail 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".

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.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