Пример #1
0
 public DescriptorMatchVector(DescriptorMatchVector other) : this(solar_datastructurePINVOKE.new_DescriptorMatchVector__SWIG_1(DescriptorMatchVector.getCPtr(other)), true)
 {
     if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
     {
         throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public DescriptorMatchVectorEnumerator(DescriptorMatchVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Пример #3
0
 public void SetRange(int index, DescriptorMatchVector values)
 {
     solar_datastructurePINVOKE.DescriptorMatchVector_SetRange(swigCPtr, index, DescriptorMatchVector.getCPtr(values));
     if (solar_datastructurePINVOKE.SWIGPendingException.Pending)
     {
         throw solar_datastructurePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #4
0
        public static DescriptorMatchVector Repeat(DescriptorMatch value, int count)
        {
            global::System.IntPtr cPtr = solar_datastructurePINVOKE.DescriptorMatchVector_Repeat(DescriptorMatch.getCPtr(value), count);
            DescriptorMatchVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new DescriptorMatchVector(cPtr, true);

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

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