public IEnumerable <Point3D> GetPoints() { var iter = TxtFile.Lines().GetEnumerator(); while (iter.MoveNext()) { yield return(ParseLine.Point3D(iter.Current)); } }
public IEnumerable <Image> GetImages() { var iter = TxtFile.Lines().GetEnumerator(); while (iter.MoveNext()) { yield return(ParseLine.ImagePose(iter.Current)); iter.MoveNext(); /* skip 'points' line for now */ } }