Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## toxi.geom
Class Ray3DIntersector

    java.lang.Object
      toxi.geom.Ray3DIntersector

All Implemented Interfaces:
  Intersector3D

    public class Ray3DIntersector

extends java.lang.Object
implements Intersector3D

Field Summary
`Ray3D` | `ray`

Constructor Summary
`Ray3DIntersector(Ray3D ray)`

Method Summary
`IsectData3D` | `getIntersectionData()`
`boolean` | `intersectsRay(Ray3D other)` Checks if entity intersects with the given ray.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### ray

    public Ray3D ray

Constructor Detail

### Ray3DIntersector

    public Ray3DIntersector(Ray3D ray)

Method Detail

### getIntersectionData

    public IsectData3D getIntersectionData()

  Specified by:
    `getIntersectionData` in interface `Intersector3D`
  Returns:
    intersection data parcel

### intersectsRay

    public boolean intersectsRay(Ray3D other)

  Description copied from interface: `Intersector3D`
  Checks if entity intersects with the given ray. Further intersection details can then be queried via the `IsectData3D` instance returned by `Intersector3D.getIntersectionData()`.

  Specified by:
    `intersectsRay` in interface `Intersector3D`
  Parameters:
    `other` - ray to check
  Returns:
    true, if ray hits the entity

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD