All Packages Class Hierarchy This Package Previous Next Index
Class vlc.vrml.external.geometry.Box
java.lang.Object
|
+----vlc.vrml.generic.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.Geometry
|
+----vlc.vrml.external.geometry.Box
- public class Box
- 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
-
Box()
- Default Constructor.
-
Box(Browser)
- Default Constructor when you wish to supply your own Browser reference.
-
Box(Browser, float, float, float)
- Constructor to use when you want to use non-default values for the size
and also supply your own Browser reference.
-
Box(float, float, float)
- Constructor to use when you want to use non-default values for the size.
-
cleanup()
- Call when about to remove the node from the scenegraph.
-
clone()
- Make a clone of this object
-
get_size()
- Get the size that was set for this box during construction
-
writeToStream(int)
- Prints the formatted contents of this node to the given stream.
Box
public Box()
- Default Constructor. Creates a default Box
Box
public Box(Browser b)
- Default Constructor when you wish to supply your own Browser reference.
Creates a default Box
Box
public Box(float x,
float y,
float z)
- Constructor to use when you want to use non-default values for the size.
Box
public Box(Browser b,
float x,
float y,
float z)
- Constructor to use when you want to use non-default values for the size
and also supply your own Browser reference.
cleanup
public void cleanup()
- Call when about to remove the node from the scenegraph.
- Overrides:
- cleanup in class VrmlObject
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_size
public float[] get_size()
- Get the size that was set for this box during construction
- Returns:
- A 3 element array representing the set size in x, y, z.
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