コード例 #1
0
        public PlanarEdge(PlanarEdge e)
        {
            PlanarEdgeRepre repre = new PlanarEdgeRepre(
                (PlanarNode)e.neighboursAdjEdges[0], (PlanarNode)e.neighboursAdjEdges[1]);

            neighboursAdjEdges = repre.arr;
            w      = e.w;
            trgl   = e.trgl;
            inTree = e.inTree;
            eid    = e.eid;
        }
コード例 #2
0
 public PlanarEdge(PlanarNode n0, PlanarNode n1, PlanarEdge n0e)
 {
     repre = new PlanarEdgeRepre(n0, n1, n0e);
     neighboursAdjEdges = repre.arr;
 }
コード例 #3
0
 public PlanarEdge(PlanarNode n0, PlanarNode n1, int n0EAid, int n0EBid, int weigth)
 {
     repre = new PlanarEdgeRepre(n0, n1, n0EAid, n0EBid);
     neighboursAdjEdges = repre.arr;
     w = weigth;
 }