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

View source: R/features-hockey.R

hockey_penalty_box_outlineR Documentation

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

Description

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

Usage

hockey_penalty_box_outline(
  feature_thickness = 0,
  penalty_box_length = 0,
  penalty_box_width = 0,
  penalty_box_separation = 0,
  penalty_box_depth = 0
)

Arguments

feature_thickness

The thickness of the outline of the penalty box

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

Value

A data frame containing the bounding coordinates of the penalty box


sportyR documentation built on May 29, 2024, 8:33 a.m.