ERelative constructor
Implementation
ERelative(this.relative, this.relativeDependent) {
//check if all values are within bounds or else throw error
//relative of 180 is queal to relative of 0 => only angles from 0 to 179 needed
if (this.relativeDependent < -1 || this.relativeDependent > 179) {
throw ("relativeDependent has a value of $relativeDependent ,while a value within -2 and 179 was expected. Class: ERelative");
}
}