org.ogre4j
Interface IRay

All Superinterfaces:
INativeObject
All Known Implementing Classes:
Ray

public interface IRay
extends INativeObject


Method Summary
 IVector3 getDirection()
          Gets the direction of the ray.
 IVector3 getOrigin()
          Gets the origin of the ray.
 void getPoint(IVector3 returnValue, float t)
          Gets the position of a point t units along the ray.
 void intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue, IAxisAlignedBox box)
          Tests whether this ray intersects the given box.
 void intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue, IPlane p)
          Tests whether this ray intersects the given plane.
 void intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue, IPlaneBoundedVolume p)
          Tests whether this ray intersects the given plane bounded volume.
 void intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue, ISphere s)
          Tests whether this ray intersects the given sphere.
 void operatorMultiplication(IVector3 returnValue, float t)
          Gets the position of a point t units along the ray.
 void setDirection(IVector3 dir)
          Sets the direction of the ray.
 void setOrigin(IVector3 origin)
          Sets the origin of the ray.
 
Methods inherited from interface org.xbig.base.INativeObject
delete, disconnectFromNativeObject, getInstancePointer, setInstancePointer, setInstancePointer, setInstancePointer
 

Method Detail

setOrigin

void setOrigin(IVector3 origin)
Sets the origin of the ray.


getOrigin

IVector3 getOrigin()
Gets the origin of the ray.


setDirection

void setDirection(IVector3 dir)
Sets the direction of the ray.


getDirection

IVector3 getDirection()
Gets the direction of the ray.


getPoint

void getPoint(IVector3 returnValue,
              float t)
Gets the position of a point t units along the ray.


operatorMultiplication

void operatorMultiplication(IVector3 returnValue,
                            float t)
Gets the position of a point t units along the ray.


intersects

void intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue,
                IPlane p)
Tests whether this ray intersects the given plane.


intersects

void intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue,
                IPlaneBoundedVolume p)
Tests whether this ray intersects the given plane bounded volume.


intersects

void intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue,
                ISphere s)
Tests whether this ray intersects the given sphere.


intersects

void intersects(Ipair<java.lang.Boolean,java.lang.Float> returnValue,
                IAxisAlignedBox box)
Tests whether this ray intersects the given box.



Copyright © 2007 netAllied GmbH. All Rights Reserved.