org.ogre4j
Interface IPlane

All Superinterfaces:
INativeObject
All Known Subinterfaces:
IMovablePlane
All Known Implementing Classes:
MovablePlane, Plane

public interface IPlane
extends INativeObject


Method Summary
 float getd()
           
 float getDistance(IVector3 rkPoint)
          This is a pseudodistance.
 void getnormal(IVector3 returnValue)
           
 Plane.Side getSide(IAxisAlignedBox rkBox)
          returns the side where the aligneBox is. the flag BOTH_SIDE indicates an intersecting box. one corner ON the plane is sufficient to consider the box and the plane intersecting.
 Plane.Side getSide(IVector3 rkPoint)
           
 Plane.Side getSide(IVector3 centre, IVector3 halfSize)
          Returns which side of the plane that the given box lies on.
 float normalise()
          Normalises the plane.
 boolean operatorEqual(IPlane rhs)
           
 boolean operatorNotEqual(IPlane rhs)
           
 void projectVector(IVector3 returnValue, IVector3 v)
          Project a vector onto the plane.
 void redefine(IVector3 rkNormal, IVector3 rkPoint)
          Redefine this plane based on a normal and a point.
 void redefine(IVector3 rkPoint0, IVector3 rkPoint1, IVector3 rkPoint2)
          Redefine this plane based on 3 points.
 void setd(float _jni_value_)
           
 void setnormal(IVector3 _jni_value_)
           
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

getSide

Plane.Side getSide(IVector3 rkPoint)

getSide

Plane.Side getSide(IAxisAlignedBox rkBox)
returns the side where the aligneBox is. the flag BOTH_SIDE indicates an intersecting box. one corner ON the plane is sufficient to consider the box and the plane intersecting.


getSide

Plane.Side getSide(IVector3 centre,
                   IVector3 halfSize)
Returns which side of the plane that the given box lies on. The box is defined as centre/half-size pairs for effectively.


getDistance

float getDistance(IVector3 rkPoint)
This is a pseudodistance. The sign of the return value is positive if the point is on the positive side of the plane, negative if the point is on the negative side, and zero if the point is on the plane.


redefine

void redefine(IVector3 rkPoint0,
              IVector3 rkPoint1,
              IVector3 rkPoint2)
Redefine this plane based on 3 points.


redefine

void redefine(IVector3 rkNormal,
              IVector3 rkPoint)
Redefine this plane based on a normal and a point.


projectVector

void projectVector(IVector3 returnValue,
                   IVector3 v)
Project a vector onto the plane.


normalise

float normalise()
Normalises the plane.


operatorEqual

boolean operatorEqual(IPlane rhs)

operatorNotEqual

boolean operatorNotEqual(IPlane rhs)

getnormal

void getnormal(IVector3 returnValue)

setnormal

void setnormal(IVector3 _jni_value_)

getd

float getd()

setd

void setd(float _jni_value_)


Copyright © 2007 netAllied GmbH. All Rights Reserved.