org.xith3d.selection
Class PlaneConstraints

java.lang.Object
  extended by org.xith3d.selection.PlaneConstraints
All Implemented Interfaces:
MovementConstraints

public class PlaneConstraints
extends java.lang.Object
implements MovementConstraints


Constructor Summary
PlaneConstraints()
           
PlaneConstraints(org.openmali.vecmath2.Vector3f planeNormal)
           
 
Method Summary
 void computeNewPosition(RenderPassConfig rpc, Canvas3D canvas, int x, int y, org.openmali.vecmath2.Point3f p0, org.openmali.vecmath2.Point3f newPosition)
           
 org.openmali.vecmath2.Vector3f getPlaneNormal()
           
 void setPlaneNormal(org.openmali.vecmath2.Vector3f planeNormal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlaneConstraints

public PlaneConstraints(org.openmali.vecmath2.Vector3f planeNormal)

PlaneConstraints

public PlaneConstraints()
Method Detail

getPlaneNormal

public org.openmali.vecmath2.Vector3f getPlaneNormal()

setPlaneNormal

public void setPlaneNormal(org.openmali.vecmath2.Vector3f planeNormal)

computeNewPosition

public void computeNewPosition(RenderPassConfig rpc,
                               Canvas3D canvas,
                               int x,
                               int y,
                               org.openmali.vecmath2.Point3f p0,
                               org.openmali.vecmath2.Point3f newPosition)
Specified by:
computeNewPosition in interface MovementConstraints