public void setInertia(RigidBodyInertia Iin) { kdlPINVOKE.Segment_setInertia(swigCPtr, RigidBodyInertia.getCPtr(Iin)); if (kdlPINVOKE.SWIGPendingException.Pending) { throw kdlPINVOKE.SWIGPendingException.Retrieve(); } }
public Segment(Joint joint, Frame f_tip, RigidBodyInertia I) : this(kdlPINVOKE.new_Segment__SWIG_4(Joint.getCPtr(joint), Frame.getCPtr(f_tip), RigidBodyInertia.getCPtr(I)), true) { if (kdlPINVOKE.SWIGPendingException.Pending) { throw kdlPINVOKE.SWIGPendingException.Retrieve(); } }