All Packages Class Hierarchy This Package Previous Next Index
Class vlc.vrml.external.geometry.Cylinder
java.lang.Object
|
+----vlc.vrml.generic.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.Geometry
|
+----vlc.vrml.external.geometry.Cylinder
- public class Cylinder
- 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
-
Cylinder()
- Default Constructor.
-
Cylinder(Browser)
- Default Constructor when you wish to supply your own Browser reference.
-
Cylinder(Browser, float, float, boolean, boolean, boolean)
- Default constructor when you want to used non default values for
the radius, height, and showing the sides or bottom.
-
Cylinder(float, float, boolean, 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_height()
- Get the height of the cone.
-
get_radius()
- Get the radius of the bottom of the cone.
-
get_side()
- Is the side to be displayed for this cone?
-
get_top()
- Is the top to be displayed for this cone?
-
writeToStream(int)
- Prints the formatted contents of this node to the given stream.
Cylinder
public Cylinder()
- Default Constructor. Creates a default Cylinder
Cylinder
public Cylinder(Browser b)
- Default Constructor when you wish to supply your own Browser reference.
Creates a default Cylinder
Cylinder
public Cylinder(float radius,
float height,
boolean showSide,
boolean showTop,
boolean showBottom)
- Default constructor when you want to used non default values for
the radius, height, and showing the sides or bottom
Cylinder
public Cylinder(Browser b,
float radius,
float height,
boolean showSide,
boolean showTop,
boolean showBottom)
- Default constructor when you want to used non default values for
the radius, height, and showing the sides or bottom. You will also need
to supply your own Browser reference.
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_radius
public float get_radius()
- 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_top
public boolean get_top()
- Is the top to be displayed for this cone?
- Returns:
- true if the top is 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