This draws a half-box, which will include the circular portion at the top of the box. All dimensions given should be to the outside of the features
soccer_penalty_box(
feature_radius = 0,
feature_thickness = 0,
box_length = 0,
penalty_mark_dist = 0,
goal_width = 0,
goal_post_to_box_edge = 0
)
A data frame containing the bounding coordinates of the penalty box
The radius of the circle at the top of the penalty box
The thickness of the penalty box
The length of the penalty box (from the goal line)
The distance from the back edge of the goal line to the penalty mark
The interior width of the goal
The distance from the interior of the goal post to the outer edge of the penalty box
The line thickness will be uniform for all features on the pitch