----- Original Message -----
From: "Jonathan Albert C. Vallar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 18, 2001 11:15 AM
Subject: [JAVA3D] Help!
> Hello!
>
> I would to ask how I be able to get the Vector3d (or point) or the
> transform3d object of
> the TranformGroup for a Shape3d object. Should I set the appropriate
> capability bits and what method in the Transform3d object should I use to
> obtain the vector? This will be used to create a new vector with it's
> endpoint as the obtained vector.
The TransformGroup's capability bit must be set to ALLOW_TRANSFORM_READ,
then you get the transform3D object:
Transform3D t3D = new Transform3D();
tg.getTransform(t3D);
and then you get the vector:
Vector3d v3d = new Vector3d();
t3D.get(v3d);
===========================================================================
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".