public Node(int ID, Point p) { NodeNo = NodeCnt++; DeviceID = ID; point = new Point(p.X, p.Y); arcs = new NodeArcs(); }
//Create new Node public Node(int ID, double x, double y) { NodeNo = NodeCnt++; DeviceID = ID; point = new Point(x, y); arcs = new NodeArcs(); }
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; }