* @param n Node to be projected
* @return The command that do the projection of this node
*/
public Command projectionCommand(Node n) {
double s = (xM - n.getEastNorth().getX()) * a + (yM - n.getEastNorth().getY()) * b;
return new MoveCommand(n, a*s, b*s);
}