public void AddPoint(Point3D point) { SimpleValidator.CheckNull(point, "Point"); pointSequence.Push(point); }
public Path(IEnumerable <Point3D> pointSequence) : this() { SimpleValidator.CheckNull(pointSequence, "Point sequence"); this.pointSequence = new Stack <Point3D>(pointSequence); }