capped cone centered at the origin with its central axis aligned along the Y−axis. The center of the Cone is
defined to be the center of its bounding box (rather than its centroid). If the GENERATE_TEXTURE_COORDS
flag is set, the texture coordinates are generated so that the texture gets mapped onto the Cone similarly to a
Cylinder, except without a top cap.
Cone consists of the following Shape3D objects:
ALIGN="JUSTIFY">int BODY = 0; •
"JUSTIFY">int CAP = 1;
The geometry for the Cone consists of a Cylinder tapering from the supplied radius at one end to zero
radius at the other end. A disk is created using the same number of divisions as the Cylinder and aligned to
close the open end of the Cylinder.
Running Codes
java.lang.Object
|
+−−javax.media.j3d.SceneGraphObject
|
+−−javax.media.j3d.Node
|
+−−javax.media.j3d.Group
|
+−−com.sun.j3d.utils.geometry.Primitive
public Cone(float radius, float height, int primflags,
int xdivision, int ydivision, Appearance ap) |
+−−com.sun.j3d.utils.geometry.Cone
http://download.java.net/media/java3d/javadoc/1.3.2/com/sun/j3d/utils/geometry/Cone.html|
+−−javax.media.j3d.SceneGraphObject
|
+−−javax.media.j3d.Node
|
+−−javax.media.j3d.Group
|
+−−com.sun.j3d.utils.geometry.Primitive
public Cone(float radius, float height, int primflags,
int xdivision, int ydivision, Appearance ap) |
+−−com.sun.j3d.utils.geometry.Cone
0 comments:
Post a Comment