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 Intersector2D

All Known Implementing Classes:
  CircleIntersector

    public interface Intersector2D

Generic interface for ray intersection with 2D geometry

Method Summary
`IsectData2D` | `getIntersectionData()`
`boolean` | `intersectsRay(Ray2D ray)` Check if entity intersects with the given ray

Method Detail

### getIntersectionData

    IsectData2D getIntersectionData()

  Returns:
    intersection data parcel

### intersectsRay

    boolean intersectsRay(Ray2D ray)

  Check if entity intersects with the given ray

  Parameters:
    `ray` - 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