public VertexList(PointF[] p) { NofVertices = p.Length; Vertex = new Vertex[NofVertices]; for (int i = 0; i < p.Length; i++) Vertex[i] = new Vertex((double)p[i].X, (double)p[i].Y); }
public VertexList(Vertex[] v, bool takeOwnership) { if (takeOwnership) { this.Vertex = v; this.NofVertices = v.Length; } else { this.Vertex = (Vertex[])v.Clone(); this.NofVertices = v.Length; } }
public VertexList(Vertex[] v) : this(v, false) { }