Class Contact2D


  • public class Contact2D
    extends java.lang.Object
    data structure for describing a contact in 2D
    • Constructor Detail

      • Contact2D

        public Contact2D​(long cPtr,
                         boolean cMemoryOwn)
      • Contact2D

        public Contact2D()
    • Method Detail

      • getCPtr

        public static long getCPtr​(Contact2D obj)
      • delete

        public void delete()
      • setP

        public void setP​(Vector2D value)
        Contact position
      • getP

        public Vector2D getP()
        Contact position
      • setN

        public void setN​(Vector2D value)
        Surface contact normal
      • getN

        public Vector2D getN()
        Surface contact normal
      • setCurvature

        public void setCurvature​(double value)
        surface curvature
      • getCurvature

        public double getCurvature()
        surface curvature
      • setAvgCurvature

        public void setAvgCurvature​(double value)
        double moving average of the curvature
      • getAvgCurvature

        public double getAvgCurvature()
        double moving average of the curvature
      • setMu

        public void setMu​(double value)
        coulomb friction coefficient
      • getMu

        public double getMu()
        coulomb friction coefficient