Example #1
0
 /**
  * Constructs a PositionStep with specified image coordinates.
  *
  * @param track the PointMass track
  * @param n the frame number
  * @param x the x coordinate
  * @param y the y coordinate
  */
 public PositionStep(PointMass track, int n, double x, double y) {
   super(track, n);
   p = new Position(x, y);
   p.setTrackEditTrigger(true);
   points = new TPoint[] {p};
   screenPoints = new Point[getLength()];
 }