Module org.dyn4j

Class Island


  • final class Island
    extends java.lang.Object
    Used to solve the contact constraints and joints for a group of interconnected bodies.
    Since:
    1.0.0
    Version:
    3.4.0
    Author:
    William Bittle
    • Constructor Detail

      • Island

        public Island()
        Default constructor.

        Uses a default Capacity for the initial capacity.

        Since:
        3.2.0
      • Island

        public Island​(Capacity initialCapacity)
        Full constructor.
        Parameters:
        initialCapacity - the initial capacity of the island
        Throws:
        java.lang.NullPointerException - if initialCapacity is null
        Since:
        3.2.0