Exemplo n.º 1
0
        private void pushGraphEdge(PointFortune leftPointFortune, PointFortune rightPointFortune, double x1, double y1, double x2, double y2)
        {
            EdgeFortune newEdge = new EdgeFortune();

            allEdges.Add(newEdge);
            newEdge.x1 = x1;
            newEdge.y1 = y1;
            newEdge.x2 = x2;
            newEdge.y2 = y2;

            newEdge.PointIndex1 = leftPointFortune.IndexInList;
            newEdge.PointIndex2 = rightPointFortune.IndexInList;
        }
Exemplo n.º 2
0
        private void pushGraphEdge(VertexKDTree leftVectorWithIndex, VertexKDTree rightVectorWithIndex, double x1, double y1, double x2, double y2)
        {
            EdgeFortune newEdge = new EdgeFortune();

            allEdges.Add(newEdge);
            newEdge.x1 = x1;
            newEdge.y1 = y1;
            newEdge.x2 = x2;
            newEdge.y2 = y2;

            //EDGAR INDEX
            //newEdge.PointIndex1 = leftVectorWithIndex.Index;
            //newEdge.PointIndex2 = rightVectorWithIndex.Index;
        }