degree method
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);
}
Get a new points whose coordinates are expressed in degrees.
Point degree() {
double factor = 180.0 / pi;
return Point(this.x * factor, this.y * factor, this.z * factor);
}