Playing Surface Definition - Basketball

Coordinates

area, x, y and side are defined based upon the diagram below.

x and y are defined as percentage measurments of the total width and height of the basketball court. The origin (0,0) is the bottom left corner of the image meaning the top right point is (100,100).

Example:
A FIBA Standard Basketball Court length is 28m and the 3pt line is at 6.75m
Therefore the x coordinate of the 3pt line = 6.75/28 * 100 = 24.1
and the x coordinate of the other 3pt line = (28-6.75)/28 * 100 = 75.89

Court area

area is defined by which of the defined boxes the player was in when the action occurred.

The value of area in reference to the diagram are as follows:

Number on diagram Value
1 underbasket
2 inthepaint
3 insiderightwing
4 insideright
5 insidecenter
6 insideleft
7 insideleftwing
8 outsiderightwing
9 outsideright
10 outsidecenter
11 outsideleft
12 outsideleftwing
13 backcourt

side represents either the left or right side of the diagram.