| 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.intersectPolygons(Polygon p1,
Polygon p2,
Polygon overlap)
Intersects two resulting polygons with the same winding and sets the overlap polygon resulting from the intersection.
|
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.
|