Uses of Class
org.openmali.vecmath2.Ray3f

Packages that use Ray3f
org.openmali.spatial.bodies   
org.openmali.spatial.bounds   
org.openmali.spatial.polygons   
org.openmali.vecmath2   
org.openmali.vecmath2.pools   
 

Uses of Ray3f in org.openmali.spatial.bodies
 

Methods in org.openmali.spatial.bodies with parameters of type Ray3f
static boolean IntersectionFactory.boxIntersectsRay(float boxLowerX, float boxLowerY, float boxLowerZ, float boxUpperX, float boxUpperY, float boxUpperZ, Ray3f ray)
          Tests a Box for intersection with a Ray.
static boolean IntersectionFactory.boxIntersectsRay(float boxLowerX, float boxLowerY, float boxLowerZ, float boxUpperX, float boxUpperY, float boxUpperZ, Ray3f ray, Tuple3f intersection)
          Tests a Box for intersection with a Ray.
static boolean IntersectionFactory.boxIntersectsRay(Tuple3f boxLower, Tuple3f boxUpper, Ray3f ray)
          Tests a Box for intersection with a Ray.
static boolean IntersectionFactory.boxIntersectsRay(Tuple3f boxLower, Tuple3f boxUpper, Ray3f ray, Tuple3f intersection)
          Tests a Box for intersection with a Ray.
static boolean IntersectionFactory.convexHullIntersectsRay(ConvexHull hull, Ray3f ray, Tuple3f intersection)
           
 boolean Plane.intersects(Ray3f ray)
          Does a ray intersection test with this.
 boolean Plane.intersects(Ray3f ray, Tuple3f intersection)
          Does a ray intersection test with this.
static boolean IntersectionFactory.intersectsRay(Sphere sphere, Ray3f ray)
          Does a ray intersection test with a Sphere.
static boolean IntersectionFactory.intersectsRay(Sphere sphere, Ray3f ray, Tuple3f intersect)
          Does a ray intersection test with a Sphere.
static boolean IntersectionFactory.intersectsRay(Tuple3f sphereCenter, float sphereRadiusSquared, Ray3f ray, Tuple3f intersect)
          Does a ray intersection test with a Sphere.
 float Plane.rayIntersectionParametric(Ray3f ray, Tuple3f intersection)
           
static boolean IntersectionFactory.sphereIntersectsRayInFront(Sphere sphere, Ray3f ray)
          Does a ray intersection test with a Sphere and checks, if the intersection is in front.
static boolean IntersectionFactory.sphereIntersectsRayInFront(Sphere sphere, Ray3f ray, Tuple3f intersection)
          Does a ray intersection test with a Sphere and checks, if the intersection is in front.
static boolean IntersectionFactory.sphereIntersectsRayInFront(Tuple3f sphereCenter, float sphereRadiusSquared, Ray3f ray)
          Does a ray intersection test with a Sphere and checks, if the intersection is in front.
static boolean IntersectionFactory.sphereIntersectsRayInFront(Tuple3f sphereCenter, float sphereRadiusSquared, Ray3f ray, Tuple3f intersection)
          Does a ray intersection test with a Sphere and checks, if the intersection is in front.
 

Uses of Ray3f in org.openmali.spatial.bounds
 

Methods in org.openmali.spatial.bounds with parameters of type Ray3f
 boolean BoundingBox.intersects(Ray3f ray)
          Tests for intersection with a ray.
 boolean BoundingPolytope.intersects(Ray3f ray)
          Tests for intersection with a ray.
 boolean BoundingSphere.intersects(Ray3f ray)
          Tests for intersection with a ray.
 boolean Bounds.intersects(Ray3f ray)
          Tests for intersection with a ray.
 boolean BoundingBox.intersects(Ray3f ray, Tuple3f intersection)
          Tests for intersection with a ray.
 boolean BoundingPolytope.intersects(Ray3f ray, Tuple3f intersection)
          Tests for intersection with a ray.
 boolean BoundingSphere.intersects(Ray3f ray, Tuple3f intersection)
          Tests for intersection with a ray.
 boolean Bounds.intersects(Ray3f ray, Tuple3f intersection)
          Tests for intersection with a ray.
 

Uses of Ray3f in org.openmali.spatial.polygons
 

Methods in org.openmali.spatial.polygons with parameters of type Ray3f
 float Triangle.intersects(Ray3f ray)
          Tests the triangle for intersection with a ray.
 float Triangle.intersects(Ray3f ray, float nearestDist)
          Tests the triangle for intersection with a ray.
 boolean Triangle.quickIntersectionTest(Ray3f pickRay)
          Does a quick ray-intersection test, that doesn't very precise.
 

Uses of Ray3f in org.openmali.vecmath2
 

Methods in org.openmali.vecmath2 that return Ray3f
 Ray3f Ray3f.clone()
          Creates a clone.
static Ray3f Ray3f.fromPool()
          Allocates an Ray3f instance from the pool.
static Ray3f Ray3f.fromPool(float ox, float oy, float oz, float dx, float dy, float dz)
          Allocates an Ray3f instance from the pool.
static Ray3f Ray3f.fromPool(Ray3f ray)
          Allocates an Ray3f instance from the pool.
static Ray3f Ray3f.fromPool(Tuple3f origin, Vector3f direction)
          Allocates an Ray3f instance from the pool.
static Ray3f Ray3f.newReadOnly()
          Creates a new Ray3f.
static Ray3f Ray3f.newReadOnly(float origX, float origY, float origZ, float direcX, float direcY, float direcZ)
          Creates a new Ray3f.
static Ray3f Ray3f.newReadOnly(Point3f origin, Vector3f direction)
          Creates a new Ray3f.
static Ray3f Ray3f.newReadOnly(Ray3f template)
          Clone constructor.
 Ray3f Ray3f.set(float ox, float oy, float oz, float dx, float dy, float dz)
          Sets this ray to the passed parameters.
 Ray3f Ray3f.set(Ray3f ray)
          Sets this ray to be equal to the passed one.
 Ray3f Ray3f.set(Tuple3f origin, Vector3f direction)
          Sets this ray to the passed parameters.
 Ray3f Ray3f.setDirection(float x, float y, float z)
          Sets the ray's direction.
 Ray3f Ray3f.setDirection(Tuple3f direction)
          Sets the ray's direction.
 Ray3f Ray3f.setOrigin(float x, float y, float z)
          Sets the ray's origin.
 Ray3f Ray3f.setOrigin(Tuple3f origin)
          Sets the ray's origin.
 

Methods in org.openmali.vecmath2 with parameters of type Ray3f
 boolean Ray3f.equals(Ray3f ray)
          Checks if the given ray equals this one.
static Ray3f Ray3f.fromPool(Ray3f ray)
          Allocates an Ray3f instance from the pool.
static Ray3f Ray3f.newReadOnly(Ray3f template)
          Clone constructor.
 Ray3f Ray3f.set(Ray3f ray)
          Sets this ray to be equal to the passed one.
static void Ray3f.toPool(Ray3f o)
          Stores the given Ray3f instance in the pool.
 

Constructors in org.openmali.vecmath2 with parameters of type Ray3f
Ray3f(boolean readOnly, Ray3f template)
          Clone constructor.
Ray3f(Ray3f template)
          Clone constructor.
 

Uses of Ray3f in org.openmali.vecmath2.pools
 

Methods in org.openmali.vecmath2.pools that return Ray3f
 Ray3f Ray3fPool.alloc()
          
 Ray3f Ray3fPool.alloc(float ox, float oy, float oz, float dx, float dy, float dz)
           
 Ray3f Ray3fPool.alloc(Tuple3f origin, Vector3f direction)
           
protected  Ray3f Ray3fPool.newInstance()
          Creates a new instance of a pooled object.