hockey_goal_frame_fill: The goal frame is where the puck enters after crossing the...

View source: R/features-hockey.R

hockey_goal_frame_fillR Documentation

The goal frame is where the puck enters after crossing the goal line to score a legal goal. The front face of the goal is flush with the goal line, while the back edge features rounded corners and expands outside of the front posts. The goal frame is composed of two pieces: the frame (see hockey_goal_frame()) and the fill (this function)

Description

The goal frame has two thicknesses to be careful of: the outer diameter of the posts, and the outer diameter of the pipe in the back of the goal. The frame of the goal is usually red in color

Usage

hockey_goal_frame_fill(
  feature_radius = 0,
  goal_mouth_width = 0,
  goal_back_width = 0,
  goal_depth = 0,
  goal_post_diameter = 0
)

Arguments

feature_radius

The radius of the circular part of the goal frame

goal_mouth_width

The width of the goal mouth

goal_back_width

The width of the back of the frame of the goal

goal_depth

The depth of the goal from the front of the goal line to the back of the goal frame

goal_post_diameter

The diameter of the post of the goal

Value

A data frame containing the bounding coordinates of the frame of the goal


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