Exemple #1
0
 public Position(Position other)
     : this(other.X, other.Y)
 {
 }
Exemple #2
0
 public Pose(Position position, Angle heading)
 {
     this.position = position;  this.heading = heading;
 }
Exemple #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);
 }