wrap180 method
Implementation
double wrap180() {
if (0 <= this && this < 180) {
return this;
}
return (this + 540) % 360 - 180;
}
double wrap180() {
if (0 <= this && this < 180) {
return this;
}
return (this + 540) % 360 - 180;
}