Uses of Class
com.badlogic.gdx.math.Polygon
-
Packages that use Polygon Package Description com.badlogic.gdx.maps.objects com.badlogic.gdx.math -
-
Uses of Polygon in com.badlogic.gdx.maps.objects
Methods in com.badlogic.gdx.maps.objects that return Polygon Modifier and Type Method Description PolygonPolygonMapObject. getPolygon()Methods in com.badlogic.gdx.maps.objects with parameters of type Polygon Modifier and Type Method Description voidPolygonMapObject. setPolygon(Polygon polygon)Constructors in com.badlogic.gdx.maps.objects with parameters of type Polygon Constructor Description PolygonMapObject(Polygon polygon) -
Uses of Polygon in com.badlogic.gdx.math
Methods in com.badlogic.gdx.math with parameters of type Polygon Modifier and Type Method Description static booleanIntersector. intersectLinePolygon(Vector2 p1, Vector2 p2, Polygon polygon)Check whether the given line andPolygonintersect.static booleanIntersector. intersectPolygons(Polygon p1, Polygon p2, Polygon overlap)Intersects two convex polygons with clockwise vertices and sets the overlap polygon resulting from the intersection.static booleanIntersector. intersectSegmentPolygon(Vector2 p1, Vector2 p2, Polygon polygon)Check whether the given line segment andPolygonintersect.static booleanIntersector. overlapConvexPolygons(Polygon p1, Polygon p2)Check whether specified convex polygons overlap (clockwise or counter-clockwise wound doesn't matter).static booleanIntersector. overlapConvexPolygons(Polygon p1, Polygon p2, Intersector.MinimumTranslationVector mtv)Check whether convex polygons overlap (clockwise or counter-clockwise wound doesn't matter).
-