org.odejava
Class GeomPlane
java.lang.Object
org.odejava.Geom
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
|
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. |
| Methods inherited from class org.odejava.Geom |
addToSpace, delete, finalize, getGeomFromNativeAddr, getId, getID, getName, getNativeAddr, getUserData, isEnabled, removeFromSpace, setCategoryBits, setCollideBits, setEnabled, setName, setUserData, updateNativeAddr |
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)
getLengths
public float[] getLengths()