public void PrintVertices3D() { cVertex temp = head; System.Diagnostics.Debug.WriteLine("Printing pointCloud..."); if (head != null) { do { temp.PrintVertex3D(); temp = temp.NextVertex; } while (temp != head); } }
public void ReadVertices_SetIndexInModel() { cVertex v = Vertices.head; int vnum = -1; do { vnum++; v.IndexInModel = vnum; if ((Math.Abs(v.Point.X) > SAFE) || (Math.Abs(v.Point.Y) > SAFE) || (Math.Abs(v.Point.Z) > SAFE)) { System.Diagnostics.Debug.WriteLine("Coordinate of vertex below might be too large..."); v.PrintVertex3D(vnum); } v = v.NextVertex; } while (v != Vertices.head); }