Module org.dyn4j

Class ContactConstraintId


  • @Deprecated
    public final class ContactConstraintId
    extends Object
    Deprecated.
    Deprecated in 4.0.0. No longer needed.
    Represents and id for a contact constraint between two Convex Shapes on two Bodys.
    Since:
    1.0.0
    Version:
    4.0.0
    Author:
    William Bittle
    • Method Detail

      • equals

        public boolean equals​(Object other)
        Deprecated.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • getBody1

        public PhysicsBody getBody1()
        Deprecated.
        Returns the first body.
        Returns:
        Body
        Since:
        3.4.0
      • getBody2

        public PhysicsBody getBody2()
        Deprecated.
        Returns the second body.
        Returns:
        Body
        Since:
        3.4.0
      • getFixture1

        public BodyFixture getFixture1()
        Deprecated.
        Returns the fixture on the first body.
        Returns:
        BodyFixture
        Since:
        3.4.0
      • getFixture2

        public BodyFixture getFixture2()
        Deprecated.
        Returns the fixture on the second body.
        Returns:
        BodyFixture
        Since:
        3.4.0