getX method
Implementation
double getX() {
double a = x / w;
if ((a.isNaN) || (a.isInfinite)) {
throw new RuntimeException("NotRepresentableException");
}
return a;
}
double getX() {
double a = x / w;
if ((a.isNaN) || (a.isInfinite)) {
throw new RuntimeException("NotRepresentableException");
}
return a;
}