Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 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;
     }
 }
Ejemplo n.º 3
0
 public VertexList(Vertex[] v)
     : this(v, false)
 {
 }