114115116117118119120121122123124
Point3d end = null; LineSegment ls; int num = 0; for (PointSegment segment : psl) { PointSegment ps = segment; ps.convertToMetric(); end = ps.point(); // start is null for the first iteration. if (start != null) {