public void GenerateSplineMeshAtSegment(int index) { meshVersion = PVersionInfo.Number; PSplineMeshCreator creator = new PSplineMeshCreator(); creator.Create(this, index); }
public void GenerateSplineMesh() { meshVersion = PVersionInfo.Number; PSplineMeshCreator creator = new PSplineMeshCreator(); creator.Create(this); }
public void GenerateSplineMeshAtSegments(IEnumerable <int> indices) { meshVersion = PVersionInfo.Number; PSplineMeshCreator creator = new PSplineMeshCreator(); IEnumerator <int> i = indices.GetEnumerator(); while (i.MoveNext()) { int index = i.Current; creator.Create(this, index); } }