When I worked on a Baseball Application, I had a task that requires to calculate the zone of the pitch using the given pitch parameters.
Below the is the illustration of pitch zones in Baseball.
The given argumets are:
- pitch.SzTop - How far is the top of the strike zone from ground.
- pitch.SzBot - How far is the bottom of the strike zone from the ground.
- pitch.Px - How far (to the right or left) from the center of the strike zone the ball is landed.
- pitch.PZ - How far (to the top or bottom) from the center of the strike zone the ball is landed.
