Skip to main content

Hole

Type representing a hole on a course.

type Hole {
number: Int
par: Int
yards: Int
metres: Int
teeGpsPosition: CoursePosition
pinGpsPosition: CoursePosition
teePosition: CoursePosition
pinPosition: CoursePosition
scaledTeePosition: CoursePosition
scaledPinPosition: CoursePosition
standardTeePosition: CoursePosition
standardPinPosition: CoursePosition
}

Fields​

Hole.number ● Int scalar​

The number of the hole.

Hole.par ● Int scalar​

The par value for the hole.

Hole.yards ● Int scalar​

The yardage for the hole.

Hole.metres ● Int scalar​

The length in meters for the hole.

Hole.teeGpsPosition ● CoursePosition object​

The GPS position of the tee.

Hole.pinGpsPosition ● CoursePosition object​

The GPS position of the pin.

Hole.teePosition ● CoursePosition object​

The position of the tee.

Hole.pinPosition ● CoursePosition object​

The position of the pin.

Hole.scaledTeePosition ● CoursePosition object​

The scaled position of the tee.

Hole.scaledPinPosition ● CoursePosition object​

The scaled position of the pin.

Hole.standardTeePosition ● CoursePosition object​

The standard position of the tee.

Hole.standardPinPosition ● CoursePosition object​

The standard position of the pin.

Member of​

Course object ● HoleMapData object ● RoundCourse object ● TournamentCourse object