Variables

Pi Constants

Variables

const double  pi = 3.141592653589793
  The constant PI defined as a double.
const double  piOver180 = 3.141592653589793 / 180.0
  The constant value of PI divided by 180.0 defined as a double.

Variable Documentation

const double pi = 3.141592653589793

The constant PI defined as a double.

const double piOver180 = 3.141592653589793 / 180.0

The constant value of PI divided by 180.0 defined as a double.

Useful for converting from degrees to radians.