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(); } }
public RotationalInertia getRotationalInertia() { RotationalInertia ret = new RotationalInertia(kdlPINVOKE.RigidBodyInertia_getRotationalInertia(swigCPtr), true); if (kdlPINVOKE.SWIGPendingException.Pending) { throw kdlPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static RotationalInertia Zero() { RotationalInertia ret = new RotationalInertia(kdlPINVOKE.RotationalInertia_Zero(), true); if (kdlPINVOKE.SWIGPendingException.Pending) { throw kdlPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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); }