Module org.dyn4j

Interface Bounds

    • Method Detail

      • getTranslation

        Vector2 getTranslation()
        Returns the translation of the bounds.
        Returns:
        Vector2
        Since:
        3.2.0
      • isOutside

        boolean isOutside​(Collidable<?> collidable)
        Returns true if the given Collidable is fully outside the bounds.

        If the Collidable contains zero Fixtures then Collidable is considered to be outside the bounds.

        Parameters:
        collidable - the Collidable to test
        Returns:
        boolean true if outside the bounds