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​(AABB aabb)
        Returns true if the given AABB is fully outside the bounds.

        If the AABB is a degenerate AABB (has zero area) then it's considered to be outside the bounds.

        Parameters:
        aabb - the AABB to test
        Returns:
        boolean true if outside the bounds
        Since:
        4.0.0