/// <summary> /// Convert nodes in a move pattern /// </summary> /// <param name="nodes"></param> /// <returns></returns> public static MovePattern ConvertToMovePattern(Node[] nodes) { MovePattern mp = new MovePattern(); foreach (Node n in nodes) { mp.AddPoint(n.Point); } return mp; }
private void CreateNodeRoot() { Rectangle BoundRoot = new Rectangle(0, 0, Width, Height); NodeRoot = new Node(0, 0, BoundRoot, null); }