meshmash / Plankton

A C# half-edge mesh data structure, and components for using this in Grasshopper/Rhino
http://meshmash.github.io/Plankton
GNU Lesser General Public License v3.0
216 stars 66 forks source link

add constructors #14

Closed uto closed 10 years ago

uto commented 10 years ago

hi, could you please add again the constructors:

public PlanktonMesh(IEnumerable vertices, IEnumerable faces) { AddVertices(vertices); AddFaces(faces); }

and

public void AddVertices(IEnumerable vertices) { _vertices.AddRange(vertices); }

public void AddFaces(IEnumerable faces) { _faces.AddRange(faces); }

pearswj commented 10 years ago

Hi @uto! Thanks for raising this. I hope you don't mind if I merge this with #9.