Ejemplo n.º 1
0
 public Position(Position other)
     : this(other.X, other.Y)
 {
 }
Ejemplo n.º 2
0
 public Pose(Position position, Angle heading)
 {
     this.position = position;  this.heading = heading;
 }
Ejemplo n.º 3
0
 public Position AddRelative(Position delta)
 {
     return new Position(X + delta.X * Heading.Cos - delta.Y * Heading.Sin, Y + delta.X * Heading.Sin + delta.Y * Heading.Cos);
 }