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