Пример #1
0
 public FrameVector(FrameVector other) : this(kdlPINVOKE.new_FrameVector__SWIG_1(FrameVector.getCPtr(other)), true)
 {
     if (kdlPINVOKE.SWIGPendingException.Pending)
     {
         throw kdlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public FrameVectorEnumerator(FrameVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Пример #3
0
 public void SetRange(int index, FrameVector values)
 {
     kdlPINVOKE.FrameVector_SetRange(swigCPtr, index, FrameVector.getCPtr(values));
     if (kdlPINVOKE.SWIGPendingException.Pending)
     {
         throw kdlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
 public void AddRange(FrameVector values)
 {
     kdlPINVOKE.FrameVector_AddRange(swigCPtr, FrameVector.getCPtr(values));
     if (kdlPINVOKE.SWIGPendingException.Pending)
     {
         throw kdlPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #5
0
        public override int JntToCart(JntArray q_in, FrameVector p_out)
        {
            int ret = kdlPINVOKE.ChainFkSolverPos_recursive_JntToCart__SWIG_3(swigCPtr, JntArray.getCPtr(q_in), FrameVector.getCPtr(p_out));

            if (kdlPINVOKE.SWIGPendingException.Pending)
            {
                throw kdlPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #6
0
        public virtual int JntToCart(JntArray q_in, FrameVector p_out, int segmentNr)
        {
            int ret = kdlPINVOKE.ChainFkSolverPos_JntToCart__SWIG_2(swigCPtr, JntArray.getCPtr(q_in), FrameVector.getCPtr(p_out), segmentNr);

            if (kdlPINVOKE.SWIGPendingException.Pending)
            {
                throw kdlPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #7
0
        public static FrameVector Repeat(Frame value, int count)
        {
            global::System.IntPtr cPtr = kdlPINVOKE.FrameVector_Repeat(Frame.getCPtr(value), count);
            FrameVector           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new FrameVector(cPtr, true);

            if (kdlPINVOKE.SWIGPendingException.Pending)
            {
                throw kdlPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #8
0
        public FrameVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = kdlPINVOKE.FrameVector_GetRange(swigCPtr, index, count);
            FrameVector           ret  = (cPtr == global::System.IntPtr.Zero) ? null : new FrameVector(cPtr, true);

            if (kdlPINVOKE.SWIGPendingException.Pending)
            {
                throw kdlPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Пример #9
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FrameVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }