|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Polygon | |
---|---|
org.jbox2d.util.nonconvex |
Uses of Polygon in org.jbox2d.util.nonconvex |
---|
Methods in org.jbox2d.util.nonconvex that return Polygon | |
---|---|
Polygon |
Polygon.add(org.jbox2d.util.nonconvex.Triangle t)
|
static Polygon |
Polygon.convexHull(float[] cloudX,
float[] cloudY)
|
static Polygon |
Polygon.convexHull(float[] cloudX,
float[] cloudY,
int nVert)
|
static Polygon |
Polygon.convexHull(Vec2[] v)
Find the convex hull of a point cloud using "Gift-wrap" algorithm - start with an extremal point, and walk around the outside edge by testing angles. |
static Polygon |
Polygon.convexHull(Vec2[] v,
int nVert)
|
static Polygon[] |
Polygon.decomposeConvex(Polygon p)
Decomposes a non-convex polygon into a number of convex polygons. |
static Polygon[] |
Polygon.polygonizeTriangles(org.jbox2d.util.nonconvex.Triangle[] triangulated)
Turns a list of triangles into a list of convex polygons. |
Methods in org.jbox2d.util.nonconvex with parameters of type Polygon | |
---|---|
static Polygon[] |
Polygon.decomposeConvex(Polygon p)
Decomposes a non-convex polygon into a number of convex polygons. |
static void |
Polygon.decomposeConvexAndAddTo(Polygon p,
BodyDef bd,
PolygonDef prototype)
Decomposes a polygon into convex polygons and adds all pieces to BodyDef using a prototype PolyDef. |
void |
Polygon.set(Polygon p)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |