Esempio n. 1
0
        public void getEdgeVectorsTest()
        {
            double[][] edgevectors = new double[][] {
                new double[] { 0, 2 },
                new double[] { 4, -2 },
                new double[] { 0, 2 },
                new double[] { -4, -2 }
            };
            Ngon ngon = new Ngon(edgevectors);

            compareArrays(ngon.getEdgeVectors(), edgevectors);
        }
 public NgonEdgePermutations(Ngon ngon)
 {
     this.edgeVectors = ngon.getEdgeVectors();
     Permutations     = edgePermutations();
 }