From class
org.andengine.util.algorithm.collision.ShapeCollisionChecker
static
boolean
|
checkCollision(float[] pVerticesA, int pVertexCountA, float[] pVerticesB, int pVertexCountB)
Calls through to ShapeCollisionChecker#checkCollisionSub(float[], int, int, int, int, int, float[], int, int, int, int) with the default parameters internally used by different AndEngine primitives.
|
static
boolean
|
checkCollision(float[] pVerticesA, int pVertexCountA, int pVertexOffsetXA, int pVertexOffsetYA, int pVertexStrideA, float[] pVerticesB, int pVertexCountB, int pVertexOffsetXB, int pVertexOffsetYB, int pVertexStrideB)
|
static
boolean
|
checkContains(float[] pVertices, int pVertexCount, int pVertexOffsetX, int pVertexOffsetY, int pVertexStride, float pX, float pY)
Works with complex polygons!
|
static
boolean
|
checkContains(float[] pVertices, int pVertexCount, float pX, float pY)
|
|
From class
org.andengine.util.algorithm.collision.BaseCollisionChecker
static
boolean
|
checkAxisAlignedRectangleCollision(float pLeftA, float pTopA, float pRightA, float pBottomA, float pLeftB, float pTopB, float pRightB, float pBottomB)
|
static
boolean
|
checkAxisAlignedRectangleContains(float pLeft, float pTop, float pRight, float pBottom, float pX, float pY)
|
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).
|
|