Class Triangulation


  • public class Triangulation
    extends java.lang.Object
    • Field Detail

      • points

        public java.util.Vector<Point3D> points
      • edgeMap

        protected java.util.HashMap<java.lang.Long,​java.lang.Integer> edgeMap
    • Constructor Detail

      • Triangulation

        public Triangulation()
    • Method Detail

      • factor

        public int factor​(int tIndex,
                          int[] p1,
                          int[] p2,
                          int[] p3)
      • area

        public double area()
      • area

        public double area​(int tIndex)
      • area

        public double area​(int p1,
                           int p2,
                           int p3)
      • SquareLength

        public double SquareLength​(Point3D p)
      • Length

        public double Length​(Point3D p)
      • flipMinimize

        public int flipMinimize​(int eIndex)
      • addTriangle

        public int addTriangle​(int p1,
                               int p2,
                               int p3)
      • EdgeIndex

        protected static long EdgeIndex​(int p1,
                                        int p2)