All Packages Class Hierarchy This Package Previous Next Index
Class vlc.vrml.generic.geometry.Cone
java.lang.Object
|
+----vlc.vrml.generic.geometry.VrmlObject
|
+----vlc.vrml.generic.geometry.Geometry
|
+----vlc.vrml.generic.geometry.Cone
- public class Cone
- extends Geometry
JVerge
- Version:
- 0.8 (beta 4)
Copyright 1997
The Virtual Light Company
under the
GNU LGPL
The latest information and bugs in JVerge can be found at
http://www.vlc.com.au/JVerge
For definition of the Anchor node please see the
VRML 97 Anchor specification
- Author:
- Justin Couch justin@vlc.com.au
-
Cone()
- Default Constructor.
-
Cone(float, float, boolean, boolean)
- Default constructor when you want to used non default values for
the radius, height, and showing the sides or bottom
-
clone()
- Make a clone of this object
-
get_bottom()
- Is the bottom to be displayed for this cone?
-
get_bottomRadius()
- Get the radius of the bottom of the cone.
-
get_height()
- Get the height of the cone.
-
get_side()
- Is the side to be displayed for this cone?
-
writeToStream(int)
- Prints the formatted contents of this node to the given stream.
Cone
public Cone()
- Default Constructor. Creates a default Cone
Cone
public Cone(float radius,
float height,
boolean showSide,
boolean showBottom)
- Default constructor when you want to used non default values for
the radius, height, and showing the sides or bottom
writeToStream
public void writeToStream(int indent)
- Prints the formatted contents of this node to the given stream.
- Parameters:
- indent - The number of spaces to indent this node in the string
- Overrides:
- writeToStream in class VrmlObject
get_bottomRadius
public float get_bottomRadius()
- Get the radius of the bottom of the cone.
- Returns:
- A float representing the radius.
get_height
public float get_height()
- Get the height of the cone.
- Returns:
- A float representing the height.
get_side
public boolean get_side()
- Is the side to be displayed for this cone?
- Returns:
- true if the sides are to be show, false if not
get_bottom
public boolean get_bottom()
- Is the bottom to be displayed for this cone?
- Returns:
- true if the bottom is to be show, false if not
clone
public Object clone()
- Make a clone of this object
- Returns:
- A deep clone copy of this object
- Overrides:
- clone in class VrmlObject
All Packages Class Hierarchy This Package Previous Next Index