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
Interface Reflector3D

All Superinterfaces:
  Intersector3D

All Known Implementing Classes:
  SphereIntersectorReflector

    public interface Reflector3D

extends Intersector3D

Generic interface for ray reflection with 3D geometry

Method Summary
`ReadonlyVec3D` | `getReflectedRayPointAtDistance(float dist)` Returns the point on the reflected ray at given distance from the intersection point
`float` | `getReflectionAngle()`
`Ray3D` | `reflectRay(Ray3D ray)` Reflects given ray on the entity's surface

Methods inherited from interface toxi.geom.Intersector3D
`getIntersectionData, intersectsRay`

Method Detail

### getReflectedRayPointAtDistance

    ReadonlyVec3D getReflectedRayPointAtDistance(float dist)

  Returns the point on the reflected ray at given distance from the intersection point

  Parameters:
    `dist` - distance from isect position
  Returns:
    point on reflected ray

### getReflectionAngle

    float getReflectionAngle()

  Returns:
    angle between incident ray and surface normal

### reflectRay

    Ray3D reflectRay(Ray3D ray)

  Reflects given ray on the entity's surface

  Parameters:
    `ray` - incident ray
  Returns:
    reflected ray starting from intersection point

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