I have been aware of this method.  However, I was wandering if it gives the
actual coordinates of the object in question, or just the coordinates
relative to its movement from its original position.  I never really tested
it...Let me be more specific:
I used VRML97 to load some objects.  By default they are loaded to the
position where they were exported.  However, at that time, as I add each of
them to a new Branchgroup, with a new TransformGroup, and therefore a new
Transform3d, the Transform3D is identity, as if it were at the origin.
Thus different objects are all in the origin of their own coordinate system
(defined by their Transform3D), while their original position (as exported
from a 3d graphics application) defines how "their" coordinate system is
"shifted".  Does Node.getBounds().getCenter() give me the coordinates of
the actual position where an object is, or does it only give me the
coordinates of an object within its own coordinate system (which really is
the ammount it has been shifted in each axis from its original location).
I hope my question makes sense.
Thank you in advance.
Paris

--- "Yazel, David J." <[EMAIL PROTECTED]> wrote:
> ((BoundingSphere)Node.getBounds()).getCenter()
>
> > ----------
> > From:         Zak[SMTP:[EMAIL PROTECTED]]
> > Reply To:     Discussion list for Java 3D API
> > Sent:         Thursday, January 18, 2001 11:53 AM
> > To:   [EMAIL PROTECTED]
> > Subject:      [JAVA3D] Coordinates of Geometry
> >
> > I am trying to track my objects coordinates while it moves. Is there
> any
> > prediefined methods I can use to track the center of the given object(
> ie
> > Sphere)?
> >
> > Thanks
> >
> > Zak
> >
> >
>
==========================================================================
> > =
> > 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".
> >
>
>
===========================================================================
> 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".


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.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