Module org.dyn4j

Class NullAABBExpansionMethod<T>

  • Type Parameters:
    T - the object type
    All Implemented Interfaces:
    AABBExpansionMethod<T>

    public final class NullAABBExpansionMethod<T>
    extends Object
    implements AABBExpansionMethod<T>
    Exapansion method that does nothing to the given AABB.
    Since:
    4.1.0
    Version:
    4.1.0
    Author:
    William Bittle
    • Constructor Detail

      • NullAABBExpansionMethod

        public NullAABBExpansionMethod()
    • Method Detail

      • expand

        public void expand​(T object,
                           AABB aabb)
        Description copied from interface: AABBExpansionMethod
        Expands the given AABB.
        Specified by:
        expand in interface AABBExpansionMethod<T>
        Parameters:
        object - the object the AABB was generated from
        aabb - the AABB to expand