Eric,

I presume it's because it's documented as returning a *copy* of the Transform3D.

If it created a copy and returned that, it'd lead to lots of unwanted garbage if
called repeatedly.

Rob

Sandegren, Eric S. wrote:
This may seem like a silly question but - why does the getTransform method
of TransformGroup take a parameter and set it's reference, rather than
returning a reference to the Transform3D?  All the other "get" methods I've
ever seen return the object rather than having you pass it in and then the
method fill it.

??

Regards,

Eric Sandegren

===========================================================================
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".
--


Rob Nugent
Sun Microsystems, Southampton, UK

[EMAIL PROTECTED]

Tel: +44 (0) 1489 585503
Fax: +44 (0) 1489 881363

===========================================================================
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