Package org.jmol.util

Class Geodesic


  • public class Geodesic
    extends Object
    J2SRequireImport is needed because we use ArrayUtil in a static method
    • Field Detail

      • halfRoot5

        private static final float halfRoot5
      • faceVertexesIcosahedron

        private static final short[] faceVertexesIcosahedron
      • neighborVertexesIcosahedron

        private static final short[] neighborVertexesIcosahedron
      • standardLevel

        public static final int standardLevel
        3 levels, 0 through 3
        See Also:
        Constant Field Values
      • vertexCounts

        private static short[] vertexCounts
      • vertexVectors

        private static javajs.util.V3[] vertexVectors
      • faceVertexesArrays

        private static short[][] faceVertexesArrays
      • neighborVertexesArrays

        private static short[][] neighborVertexesArrays
      • currentLevel

        private static int currentLevel
      • vertexNext

        private static short vertexNext
    • Constructor Detail

      • Geodesic

        public Geodesic()
    • Method Detail

      • getNeighborVertexesArrays

        public static short[][] getNeighborVertexesArrays()
      • getVertexCount

        public static short getVertexCount​(int level)
      • getVertexVectors

        public static javajs.util.V3[] getVertexVectors()
      • getVertexVector

        public static javajs.util.V3 getVertexVector​(int i)
      • getFaceVertexes

        public static short[] getFaceVertexes​(int level)
      • createGeodesic

        public static void createGeodesic​(int lvl)
      • quadruple

        private static void quadruple​(int level,
                                      short[] counts)
      • addNeighboringVertexes

        private static void addNeighboringVertexes​(short[] neighborVertexes,
                                                   short v1,
                                                   short v2)
      • getVertex

        private static short getVertex​(short v1,
                                       short v2)