lacrosse_penalty_box_outline: The penalty boxes are the areas outside the confines of the...

View source: R/features-lacrosse.R

lacrosse_penalty_box_outlineR Documentation

The penalty boxes are the areas outside the confines of the field where players serve time for a penalty incurred. They are to be on the same side of the field surface and separate, as close to center field as possible, for each team. This will also include the off-field officials' box

Description

This will have the same thickness as the boards, but will be located outside the field surface. Each penalty box's outline will share the same color as the boards

Usage

lacrosse_penalty_box_outline(
  penalty_box_outline_thickness = 0,
  penalty_box_length = 0,
  penalty_box_width = 0,
  penalty_box_separation = 0,
  penalty_box_depth = 0
)

Arguments

penalty_box_length

The length of the penalty box

penalty_box_separation

The separation between the two penalty boxes

penalty_box_depth

The depth at which the penalty box extends from the outer edge of the boards

feature_thickness

The thickness of the outline of the penalty box

Value

A data frame containing the bounding coordinates of the penalty box


sportyR documentation built on July 9, 2023, 5:49 p.m.