|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttoxi.geom.CircleIntersector
public class CircleIntersector

This class handles Circle-Ray2D intersections by implementing the
Intersector2D interface.
| Constructor Summary | |
|---|---|
CircleIntersector(Circle circle)
|
|
| Method Summary | |
|---|---|
IsectData2D |
getIntersectionData()
|
boolean |
intersectsRay(Ray2D ray)
Check if entity intersects with the given ray |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CircleIntersector(Circle circle)
| Method Detail |
|---|
public IsectData2D getIntersectionData()
getIntersectionData in interface Intersector2Dpublic boolean intersectsRay(Ray2D ray)
Intersector2D
intersectsRay in interface Intersector2Dray - ray to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||