org.odejava
Class GeomPlane

java.lang.Object
  extended by org.odejava.Geom
      extended by org.odejava.GeomPlane

public class GeomPlane
extends Geom

The plane equation is x+b*y+c*z = d. The plane's normal vector is (a,b,c), and it must have length 1. Planes are non-placeable geoms. This means that, unlike placeable geoms, planes do not have an assigned position and rotation. This means that the parameters (a,b,c,d) are always in global coordinates. In other words it is assumed that the plane is always part of the static environment and not tied to any movable object. Created 16.12.2003 (dd.mm.yyyy)

Author:
Jani Laakso E-mail: jani.laakso@itmill.com see http://odejava.dev.java.net

Field Summary
 
Fields inherited from class org.odejava.Geom
geomId, isEncapsulated, spaceId
 
Constructor Summary
GeomPlane(float a, float b, float c, float d)
           
GeomPlane(String name, float a, float b, float c, float d)
          Create plane geometry to specific space.
 
Method Summary
 float[] getLengths()
           
 
Methods inherited from class org.odejava.Geom
addToSpace, delete, finalize, getGeomFromNativeAddr, getId, getID, getName, getNativeAddr, getUserData, isEnabled, removeFromSpace, setCategoryBits, setCollideBits, setEnabled, setName, setUserData, updateNativeAddr
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeomPlane

public GeomPlane(String name,
                 float a,
                 float b,
                 float c,
                 float d)
Create plane geometry to specific space.

Parameters:
name -
a -
b -
c -
d -

GeomPlane

public GeomPlane(float a,
                 float b,
                 float c,
                 float d)
Method Detail

getLengths

public float[] getLengths()