Package | Description |
---|---|
com.badlogic.gdx.maps.objects | |
com.badlogic.gdx.math |
Modifier and Type | Method and Description |
---|---|
Polygon |
PolygonMapObject.getPolygon() |
Modifier and Type | Method and Description |
---|---|
void |
PolygonMapObject.setPolygon(Polygon polygon) |
Constructor and Description |
---|
PolygonMapObject(Polygon polygon) |
Modifier and Type | Method and Description |
---|---|
static boolean |
Intersector.intersectLinePolygon(Vector2 p1,
Vector2 p2,
Polygon polygon)
Check whether the given line and
Polygon intersect. |
static boolean |
Intersector.intersectSegmentPolygon(Vector2 p1,
Vector2 p2,
Polygon polygon)
Check whether the given line segment and
Polygon intersect. |
static boolean |
Intersector.overlapConvexPolygons(Polygon p1,
Polygon p2)
Check whether specified counter-clockwise wound convex polygons overlap.
|
static boolean |
Intersector.overlapConvexPolygons(Polygon p1,
Polygon p2,
Intersector.MinimumTranslationVector mtv)
Check whether specified counter-clockwise wound convex polygons overlap.
|
Copyright © 2014. All Rights Reserved.