示例#1
0
 public Node(int ID, Point p)
 {
     NodeNo   = NodeCnt++;
     DeviceID = ID;
     point    = new Point(p.X, p.Y);
     arcs     = new NodeArcs();
 }
示例#2
0
 //Create new Node
 public Node(int ID, double x, double y)
 {
     NodeNo   = NodeCnt++;
     DeviceID = ID;
     point    = new Point(x, y);
     arcs     = new NodeArcs();
 }
示例#3
0
 public Node(int ID, double x, double y, List <int> ls)
 {
     NodeNo   = NodeCnt++;
     DeviceID = ID;
     point    = new Point(x, y);
     arcs     = new NodeArcs();
     lines    = ls;
 }