Check if each component of this Location is finite. @throws IllegalArgumentException if any component is not finite
()
| 613 | * @throws IllegalArgumentException if any component is not finite |
| 614 | */ |
| 615 | public void checkFinite() throws IllegalArgumentException { |
| 616 | NumberConversions.checkFinite(x, "x not finite"); |
| 617 | NumberConversions.checkFinite(y, "y not finite"); |
| 618 | NumberConversions.checkFinite(z, "z not finite"); |
| 619 | NumberConversions.checkFinite(pitch, "pitch not finite"); |
| 620 | NumberConversions.checkFinite(yaw, "yaw not finite"); |
| 621 | } |
| 622 | |
| 623 | /** |
| 624 | * Safely converts a double (location coordinate) to an int (block |
nothing calls this directly
no test coverage detected