Class RigidBodyInfo


  • public class RigidBodyInfo
    extends java.lang.Object
    A class to wrap rigid body information.
    • Constructor Detail

      • RigidBodyInfo

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

        public RigidBodyInfo​(double mass,
                             InertiaMatrixd Ibody)
        constructs a RigidBodyInfo with a mass, inertia matrix, initial
        pose and velocity.
    • Method Detail

      • delete

        public void delete()
      • getMass

        public double getMass()
        returns the mass of this RigidBodyInfo
        Returns:
        the mass
      • getInertia

        public InertiaMatrixd getInertia()
        returns the inertia matrix of this rigid body