Module org.dyn4j

Class ContactPointId


  • public final class ContactPointId
    extends java.lang.Object
    Represents a contact point id to identify contacts from frame to frame.
    Since:
    3.1.2
    Version:
    3.2.0
    Author:
    William Bittle
    • Constructor Detail

      • ContactPointId

        public ContactPointId​(ContactConstraintId contactConstraintId,
                              ManifoldPointId manifoldPointId)
        Full constructor.
        Parameters:
        contactConstraintId - the contact constraint id
        manifoldPointId - the manifold point id
    • Method Detail

      • equals

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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