Hi Carlos,
I think this is the way to do it.
// tg is your TransformGroup and assuming you added
// the two point arrays at index 0 and 1.
TransformGroup tg;
Shape3D pnt1 = (Shape3D) tg.getChild(0);
Shape3D pnt2 = (Shape3D) tg.getChild(1);
PointArray pa1 = (PointArray) pnt1.getGeomtry();
PointArray pa2 = (PointArray) pnt2.getGeometry();
Regds,
Anand
Carlos Ariza <[EMAIL PROTECTED]> on 06/21/2001 09:26:52 PM
Please respond to Discussion list for Java 3D API <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Anand PILLAI/dassault-systemes)
Subject: [JAVA3D] LineArray
Hi all:
How may I assign LineArray from two PointArray previously assign
to the TransformGroup?.
Any hints? Thanks in advance.
===========================================================================
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".