Package | Description |
---|---|
com.badlogic.gdx.math | |
com.badlogic.gdx.utils |
Modifier and Type | Method and Description |
---|---|
ShortArray |
EarClippingTriangulator.computeTriangles(float[] vertices) |
ShortArray |
DelaunayTriangulator.computeTriangles(float[] polygon,
boolean sorted) |
ShortArray |
EarClippingTriangulator.computeTriangles(float[] vertices,
int offset,
int count)
Triangulates the given (convex or concave) simple polygon to a list of triangle vertices.
|
ShortArray |
DelaunayTriangulator.computeTriangles(float[] points,
int offset,
int count,
boolean sorted)
Triangulates the given point cloud to a list of triangle indices that make up the Delaunay triangulation.
|
ShortArray |
EarClippingTriangulator.computeTriangles(FloatArray vertices) |
ShortArray |
DelaunayTriangulator.computeTriangles(FloatArray points,
boolean sorted) |
Modifier and Type | Method and Description |
---|---|
void |
DelaunayTriangulator.trim(ShortArray triangles,
float[] points,
float[] hull,
int offset,
int count)
Removes all triangles with a centroid outside the specified hull, which may be concave.
|
Modifier and Type | Method and Description |
---|---|
static ShortArray |
ShortArray.with(short... array) |
Modifier and Type | Method and Description |
---|---|
void |
ShortArray.addAll(ShortArray array) |
void |
ShortArray.addAll(ShortArray array,
int offset,
int length) |
boolean |
ShortArray.removeAll(ShortArray array)
Removes from this array all of elements contained in the specified array.
|
Constructor and Description |
---|
ShortArray(ShortArray array)
Creates a new array containing the elements in the specific array.
|