예제 #1
0
 public InterpolationPoint(PathPoint point1, PathPoint point2, InterpolationPoint other)
     : this(point1, point2)
 {
     Direction = CalculateDirection(other);
 }
예제 #2
0
 private Heading CalculateDirection(InterpolationPoint other)
 {
     return(Directions[Tuple.Create(GetDirectionKey(X, other.X), GetDirectionKey(Y, other.Y))]);
 }