/** {@inheritDoc} */ @Override default boolean containsNaN() { return Orientation2DReadOnly.super.containsNaN(); }
/** * Tests if this pose 2D contains a {@link Double#NaN}. * * @return {@code true} if either the position or orientation part of this pose 2D contains * {@link Double#NaN}, {@code false} otherwise. */ default boolean containsNaN() { return getPosition().containsNaN() || getOrientation().containsNaN(); }