Re: [JAVA3D] Calling a class error

2003-06-17 Thread ÃéÜííçò
Yeah it worked! Thank you very much! - Original Message - From: Silvano Maneck Malfatti <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 17, 2003 10:09 PM Subject: Re: [JAVA3D] Calling a class error > Try run it: > > > > > import com.sun.

Re: [JAVA3D] Calling a class error

2003-06-17 Thread Silvano Maneck Malfatti
Try run it: import com.sun.j3d.utils.geometry.*; import javax.media.j3d.*; import java.awt.*; import javax.vecmath.*; import javax.media.j3d.GeometryArray; import java.applet.Applet; import com.sun.j3d.utils.geometry.GeometryInfo; import com.sun.j3d.utils.universe.*; import javax.media.j3d.Bran

Re: [JAVA3D] Calling a class error

2003-06-17 Thread Silvano Maneck Malfatti
I suggest you to do a method that return the shape3D For example Class Polyhedron { . . . Shape3D getPolyedron() { shape.setGeometry(myPolyhedron); return shape; } } So, in the second class you must use this: Polyhedron polyhedron=new Polyhedron(

Re: [JAVA3D] Calling a class error

2003-06-17 Thread ÃéÜííçò
ay, June 17, 2003 7:37 PM Subject: Re: [JAVA3D] Calling a class error > I suggest you to do a method that return the shape3D > > > For example > > > Class Polyhedron > { > . > . > . > > Shape3D getPolyedron() > { > >

[JAVA3D] Calling a class error

2003-06-17 Thread Γιάννης
I have a the following class which make a polyhedron - import com.sun.j3d.utils.geometry.*; import javax.media.j3d.*; import java.awt.*; import javax.vecmath.*; import javax.media.j3d.GeometryArray; import java.applet.Applet; import com.sun.j3d.utils