degree method

Point degree()

Get a new points whose coordinates are expressed in degrees.

Implementation

Point degree() {
  double factor = 180.0 / pi;

  return Point(this.x * factor, this.y * factor, this.z * factor);
}