예제 #1
0
 public void setInertia(RigidBodyInertia Iin)
 {
     kdlPINVOKE.Segment_setInertia(swigCPtr, RigidBodyInertia.getCPtr(Iin));
     if (kdlPINVOKE.SWIGPendingException.Pending)
     {
         throw kdlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
 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();
     }
 }