Beispiel #1
0
 public UIntVector(UIntVector other) : this(solar_datastructurePINVOKE.new_UIntVector__SWIG_1(UIntVector.getCPtr(other)), true)
 {
     if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
     {
         throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public UIntVectorEnumerator(UIntVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Beispiel #3
0
 public void SetRange(int index, UIntVector values)
 {
     solar_datastructurePINVOKE.UIntVector_SetRange(swigCPtr, index, UIntVector.getCPtr(values));
     if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
     {
         throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #4
0
        public UIntVector getBestNeighborKeyframes(int nbKeyframes)
        {
            UIntVector ret = new UIntVector(solar_datastructurePINVOKE.Keyframe_getBestNeighborKeyframes(swigCPtr, nbKeyframes), true);

            if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #5
0
        public static UIntVector Repeat(uint value, int count)
        {
            global::System.IntPtr cPtr = solar_datastructurePINVOKE.UIntVector_Repeat(value, count);
            UIntVector            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UIntVector(cPtr, true);

            if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #6
0
        public UIntVector GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = solar_datastructurePINVOKE.UIntVector_GetRange(swigCPtr, index, count);
            UIntVector            ret  = (cPtr == global::System.IntPtr.Zero) ? null : new UIntVector(cPtr, true);

            if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
            {
                throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Beispiel #7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UIntVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }