Ejemplo n.º 1
0
 public intVector(intVector other) : this(ompl_basePINVOKE.new_intVector__SWIG_1(intVector.getCPtr(other)), true)
 {
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public intVectorEnumerator(intVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 3
0
 public virtual void computeSignature(intVector signature)
 {
     ompl_basePINVOKE.StateSpace_computeSignature(swigCPtr, intVector.getCPtr(signature));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public void SetRange(int index, intVector values)
 {
     ompl_basePINVOKE.intVector_SetRange(swigCPtr, index, intVector.getCPtr(values));
     if (ompl_basePINVOKE.SWIGPendingException.Pending)
     {
         throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 5
0
        public static intVector Repeat(int value, int count)
        {
            global::System.IntPtr cPtr = ompl_basePINVOKE.intVector_Repeat(value, count);
            intVector             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new intVector(cPtr, true);

            if (ompl_basePINVOKE.SWIGPendingException.Pending)
            {
                throw ompl_basePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 6
0
        public intVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = ompl_basePINVOKE.intVector_GetRange(swigCPtr, index, count);
            intVector             ret  = (cPtr == global::System.IntPtr.Zero) ? null : new intVector(cPtr, true);

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