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