vooga.physicsEngine.geometry.intersections
Class JavaShapeIntersector

java.lang.Object
  extended by vooga.physicsEngine.geometry.intersections.JavaShapeIntersector
All Implemented Interfaces:
Intersector

public class JavaShapeIntersector
extends java.lang.Object
implements Intersector

Author:
Peng Shi

Constructor Summary
JavaShapeIntersector(GeometricParameters bodyA, GeometricParameters bodyB)
           
 
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

JavaShapeIntersector

public JavaShapeIntersector(GeometricParameters bodyA,
                            GeometricParameters bodyB)
Parameters:
bodyA -
bodyB -
Method Detail

findIntersections

public java.util.List<Vector2f> findIntersections()
Description copied from interface: Intersector
Returns a list of intersections between the two geometric entities that is passed to the Intersector in the constructor.

Specified by:
findIntersections in interface Intersector
Returns:
a list of intersections