Exemplo n.º 1
0
 public RigidBodyInertia(double m, Vector oc, RotationalInertia Ic) : this(kdlPINVOKE.new_RigidBodyInertia__SWIG_0(m, Vector.getCPtr(oc), RotationalInertia.getCPtr(Ic)), true)
 {
     if (kdlPINVOKE.SWIGPendingException.Pending)
     {
         throw kdlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
        public RotationalInertia getRotationalInertia()
        {
            RotationalInertia ret = new RotationalInertia(kdlPINVOKE.RigidBodyInertia_getRotationalInertia(swigCPtr), true);

            if (kdlPINVOKE.SWIGPendingException.Pending)
            {
                throw kdlPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 3
0
        public static RotationalInertia Zero()
        {
            RotationalInertia ret = new RotationalInertia(kdlPINVOKE.RotationalInertia_Zero(), true);

            if (kdlPINVOKE.SWIGPendingException.Pending)
            {
                throw kdlPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 4
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(RotationalInertia obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }