public class Geodesic
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static int |
currentLevel |
private static short[][] |
faceVertexesArrays |
private static short[] |
faceVertexesIcosahedron |
private static float |
halfRoot5 |
private static java.util.Map<java.lang.Integer,java.lang.Short> |
htVertex |
private static int |
maxLevel |
private static short[][] |
neighborVertexesArrays |
private static short[] |
neighborVertexesIcosahedron |
private static float |
oneFifth |
private static float |
oneTenth |
static int |
standardLevel
3 levels, 0 through 3
|
private static boolean |
VALIDATE |
private static short[] |
vertexCounts |
private static short |
vertexNext |
private static javajs.util.V3[] |
vertexVectors |
Constructor and Description |
---|
Geodesic() |
Modifier and Type | Method and Description |
---|---|
private static void |
addNeighboringVertexes(short[] neighborVertexes,
short v1,
short v2) |
static void |
createGeodesic(int lvl) |
static short[] |
getFaceVertexes(int level) |
static short[][] |
getNeighborVertexesArrays() |
private static short |
getVertex(short v1,
short v2) |
static short |
getVertexCount(int level) |
static javajs.util.V3 |
getVertexVector(int i) |
static javajs.util.V3[] |
getVertexVectors() |
private static void |
quadruple(int level,
short[] counts) |
private static final float halfRoot5
private static final float oneFifth
private static final float oneTenth
private static final short[] faceVertexesIcosahedron
private static final short[] neighborVertexesIcosahedron
public static final int standardLevel
private static final int maxLevel
private static short[] vertexCounts
private static javajs.util.V3[] vertexVectors
private static short[][] faceVertexesArrays
private static short[][] neighborVertexesArrays
private static int currentLevel
private static short vertexNext
private static java.util.Map<java.lang.Integer,java.lang.Short> htVertex
private static final boolean VALIDATE
public static short[][] getNeighborVertexesArrays()
public static short getVertexCount(int level)
public static javajs.util.V3[] getVertexVectors()
public static javajs.util.V3 getVertexVector(int i)
public static short[] getFaceVertexes(int level)
public static void createGeodesic(int lvl)
private static void quadruple(int level, short[] counts)
private static void addNeighboringVertexes(short[] neighborVertexes, short v1, short v2)
private static short getVertex(short v1, short v2)