Module org.dyn4j

Class BruteForceBroadphaseNode<E extends Collidable<T>,​T extends Fixture>

  • Type Parameters:
    E - the Collidable type
    T - the Fixture type

    class BruteForceBroadphaseNode<E extends Collidable<T>,​T extends Fixture>
    extends java.lang.Object
    Simple helper class that holds information for each item in the BruteForceBroadphase.
    Since:
    3.4.0
    Version:
    3.4.0
    Author:
    Manolis Tsamis
    • Field Summary

      Fields 
      Modifier and Type Field Description
      AABB aabb
      The AABB
      E collidable
      The collidable
      T fixture
      The fixture
      (package private) boolean tested
      Whether the node has been tested or not
    • Constructor Summary

      Constructors 
      Constructor Description
      BruteForceBroadphaseNode​(E collidable, T fixture)
      Minimal constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      (package private) void updateAABB()
      Updates the AABB of this node
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • collidable

        public final E extends Collidable<T> collidable
        The collidable
      • fixture

        public final T extends Fixture fixture
        The fixture
      • aabb

        public AABB aabb
        The AABB
      • tested

        boolean tested
        Whether the node has been tested or not
    • Constructor Detail

      • BruteForceBroadphaseNode

        BruteForceBroadphaseNode​(E collidable,
                                 T fixture)
        Minimal constructor.
        Parameters:
        collidable - the collidable
        fixture - the fixture
    • Method Detail

      • updateAABB

        void updateAABB()
        Updates the AABB of this node
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object