All Packages Class Hierarchy This Package Previous Next Index
Class vlc.vrml.external.geometry.Sphere
java.lang.Object
|
+----vlc.vrml.generic.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.VrmlObject
|
+----vlc.vrml.external.geometry.Geometry
|
+----vlc.vrml.external.geometry.Sphere
- public class Sphere
- 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
-
Sphere()
- Default Constructor.
-
Sphere(Browser)
- Default Constructor when you wish to supply your own Browser reference.
-
Sphere(Browser, float)
- Cosntructor for when you want to use a non-default radius and supply
you own Browser reference.
-
Sphere(float)
- Cosntructor for when you want to use a non-default radius.
-
cleanup()
- Called just before a node is to be deleted by its parent.
-
clone()
- Make a clone of this object
-
get_radius()
- Get the radius of the sphere
-
writeToStream(int)
- Prints the formatted contents of this node to the given stream.
Sphere
public Sphere()
- Default Constructor. Creates a default Sphere
Sphere
public Sphere(Browser b)
- Default Constructor when you wish to supply your own Browser reference.
Creates a default Sphere
Sphere
public Sphere(float radius)
- Cosntructor for when you want to use a non-default radius.
Sphere
public Sphere(Browser b,
float radius)
- Cosntructor for when you want to use a non-default radius and supply
you own Browser reference.
cleanup
public void cleanup()
- Called just before a node is to be deleted by its parent.
- 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_radius
public float get_radius()
- Get the radius of the sphere
- Returns:
- The radius
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