|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvooga.physicsEngine.geometry.intersections.PolygonPolygonIntersector
public class PolygonPolygonIntersector
Class that implements intersection of polygons.
Constructor Summary | |
---|---|
PolygonPolygonIntersector(GeometricParameters bodyA,
GeometricParameters bodyB)
Create a polygon-polygon intersector |
Method Summary | |
---|---|
java.util.List<Vector2f> |
findIntersections()
Returns a list of intersections between the two geometric entities that is passed to the Intersector in the constructor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PolygonPolygonIntersector(GeometricParameters bodyA, GeometricParameters bodyB)
bodyA
- First polygon bodybodyB
- Second polygon bodyMethod Detail |
---|
public java.util.List<Vector2f> findIntersections()
Intersector
findIntersections
in interface Intersector
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |