Skip to main content

Volleyball features

The features a volleyball surface is drawn from (sportypy._feature_classes.volleyball).

BaseVolleyballFeature​

An extension of the BaseFeature class for volleyball features.

The following attributes are specific to volleyball features only. For more information on inherited attributes, please see the BaseFeature class definition. The default values are provided to ensure that the feature can at least be created.

Attributes​

  • court_length (float): The length of the court in TV view. The default is 0.0
  • court_width (float): The width of the court in TV view. The default is 0.0
  • feature_radius (float): The radius needed to draw the feature. This may not be needed for all features. The default is 0.0
  • feature_thickness (float): The thickness with which to draw the feature. This is normally given as the horizontal width of the feature in TV view, however it may be used to specify other thicknesses as needed. The default is 0.0
  • field_units (str): The units with which the feature is drawn. The default is "ft"

CourtConstraint​

The constraint around the interior edge of the court's boundary lines.

This confines all interior features to be constrained inside the court, as well as any interior plots.

FreeZone​

The free zone of a volleyball court.

This is similar to the court apron of a basketball court in that it is the area outside of the court. It may be the same color as the interior of the court, but isn't necessarily. Unlike a basketball court's apron, however, the boundary line thickness doesn't matter since the lines are considered in-play and therefore are included in the court's length and width.

Attributes​

  • free_zone_end_line (float): The distance the free zone extends beyond the outer edge of the end line
  • free_zone_sideline (float): The distance the free zone extends beyond the outer edge of the sideline

FrontZone​

The front zone of a volleyball court.

The front zone is the area between the attack line and the line running along x = 0. If considering the entirety of the volleyball court as being divided into thirds, this is half of the middle third of the court

Attributes​

  • attack_line_edge_to_center_line (float): The distance from the edge furthest from the attack line to the center of the line running along x = 0

Backcourt​

The backcourt area of the volleyball court.

This is the area between the attack line and the end line. Players playing in the back row of the rotation must take off from this area before attacking the ball

Attributes​

  • attack_line_edge_to_center_line (float): The distance from the edge furthest from the attack line to the center of the line running along x = 0

CourtApron​

The apron of the volleyball court.

The court apron is similar to the court apron of a basketball court in that it is the area outside of the court, but this is different than the FreeZone as it is fully contained within the free zone.

Attributes​

  • court_apron_end_line (float): The distance the free zone extends beyond the outer edge of the end line
  • court_apron_sideline (float): The distance the free zone extends beyond the outer edge of the sideline

EndLine​

The end lines.

These are the lines that run the full width of the court, and their entire thickness is considered in bounds during play

Sideline​

The sidelines.

These are the lines that run the full length of the court, and their entire thickness is considered in bounds during play

AttackLine​

The attack line.

This is the line that runs from sideline to sideline, separating the backcourt from the front zone. Players in the front row may attack from either side of this line, while players in the back row must begin their attack from the backcourt side of this line. The anchor point of this feature should be its outer edge

CenterLine​

The center line.

This line runs along the line x = 0 when viewing the court in TV view, dividing the court into two equal halves

ServiceZoneMark​

A single service zone mark.

These marks lie beyond the end lines and denote where a legal serve must take place. It appears as a hash mark that is out of bounds of the court, but contained within the free zone

Attributes​

  • service_zone_mark_length (float): The length of the service zone mark

SubstitutionZoneDash​

A single dash of the substitution zone.

The substitution zone is typically marked by a dashed line extending from the attack lines. This creates a single dash, and the dashes should be added to the plot accordingly

Attributes​

  • dash_length (float): The length of a single dash of the service line