All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vlc.vrml.generic.geometry.CylinderSensor

java.lang.Object
   |
   +----vlc.vrml.generic.geometry.VrmlObject
           |
           +----vlc.vrml.generic.geometry.ChildrenNode
                   |
                   +----vlc.vrml.generic.geometry.Sensor
                           |
                           +----vlc.vrml.generic.geometry.GeometrySensor
                                   |
                                   +----vlc.vrml.generic.geometry.CylinderSensor

public class CylinderSensor
extends GeometrySensor
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

Constructor Index

 o CylinderSensor()
Default Constructor.

Method Index

 o clone()
Make a clone of this object
 o get_diskAngle()
Get the current diskAngle value
 o get_maxAngle()
Get the current maximun angle value
 o get_minAngle()
Get the current minimum angle
 o set_diskAngle(float)
Set the diskAngle field
 o set_maxAngle(float)
Set the maximum allowable angle of the sensor
 o set_minAngle(float)
Set the minimum allowable angle of the sensor
 o writeToStream(int)
Prints the formatted contents of this node to the given stream.

Constructors

 o CylinderSensor
 public CylinderSensor()
Default Constructor. Creates a default CylinderSensor

Methods

 o 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
 o set_diskAngle
 public void set_diskAngle(float angle)
Set the diskAngle field

Parameters:
angle - The angle in radians to be set.
 o get_diskAngle
 public float get_diskAngle()
Get the current diskAngle value

Returns:
The angle in radians
 o set_maxAngle
 public void set_maxAngle(float angle)
Set the maximum allowable angle of the sensor

Parameters:
angle - The angle in radians to be set.
 o get_maxAngle
 public float get_maxAngle()
Get the current maximun angle value

Returns:
The angle in radians
 o set_minAngle
 public void set_minAngle(float angle)
Set the minimum allowable angle of the sensor

Parameters:
angle - The angle in radians to be set.
 o get_minAngle
 public float get_minAngle()
Get the current minimum angle

Returns:
The angle in radians
 o clone
 public Object clone()
Make a clone of this object

Returns:
A deep clone copy of this object
Overrides:
clone in class GeometrySensor

All Packages  Class Hierarchy  This Package  Previous  Next  Index