public class JarvisMarch extends java.lang.Object implements IHullAlgorithm
http://www.iti.fh-flensburg.de/lang/algorithmen/geo/| Constructor and Description |
|---|
JarvisMarch() |
| Modifier and Type | Method and Description |
|---|---|
int |
computeHull(float[] pVertices,
int pVertexCount,
int pVertexOffsetX,
int pVertexOffsetY,
int pVertexStride) |
public int computeHull(float[] pVertices,
int pVertexCount,
int pVertexOffsetX,
int pVertexOffsetY,
int pVertexStride)
computeHull in interface IHullAlgorithmpVertices - a interleaved float[] containing vertex data.pVertexCount - the amount of vertices to look at in pVertices.pVertexOffsetX - the offset of the x-coordinate in a vertex.pVertexOffsetY - the offset of the y-coordinate in a vertex.pVertexStride - the stride between each vertex.