Class Overview
(c) 2010 Nicolas Gramlich
(c) 2011 Zynga Inc.
Summary
Public Methods |
static
boolean
|
checkLineCollision(float pX1, float pY1, float pX2, float pY2, float pX3, float pY3, float pX4, float pY4)
|
static
void
|
fillVertices(Line pLine, float[] pVertices)
|
[Expand]
Inherited Methods |
From class
org.anddev.andengine.collision.ShapeCollisionChecker
static
boolean
|
checkCollision(int pVerticesALength, float[] pVerticesA, int pVerticesBLength, float[] pVerticesB)
|
static
boolean
|
checkContains(float[] pVertices, int pVerticesLength, float pX, float pY)
|
|
From class
org.anddev.andengine.collision.BaseCollisionChecker
static
boolean
|
checkAxisAlignedRectangleCollision(float pLeftA, float pTopA, float pRightA, float pBottomA, float pLeftB, float pTopB, float pRightB, float pBottomB)
|
static
int
|
relativeCCW(float pX1, float pY1, float pX2, float pY2, float pPX, float pPY)
Returns an indicator of where the specified point (PX, PY) lies with
respect to the line segment from (X1, Y1) to (X2, Y2).
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
LineCollisionChecker
()
Public Methods
public
static
boolean
checkLineCollision
(float pX1, float pY1, float pX2, float pY2, float pX3, float pY3, float pX4, float pY4)
public
static
void
fillVertices
(Line pLine, float[] pVertices)