Exemplo n.º 1
0
 public vectorDimensions(vectorDimensions other) : this(libtischPINVOKE.new_vectorDimensions__SWIG_1(vectorDimensions.getCPtr(other)), true)
 {
     if (libtischPINVOKE.SWIGPendingException.Pending)
     {
         throw libtischPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public vectorDimensionsEnumerator(vectorDimensions collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemplo n.º 3
0
 public void SetRange(int index, vectorDimensions values)
 {
     libtischPINVOKE.vectorDimensions_SetRange(swigCPtr, index, vectorDimensions.getCPtr(values));
     if (libtischPINVOKE.SWIGPendingException.Pending)
     {
         throw libtischPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
    public vectorDimensions bounds()
    {
        vectorDimensions ret = new vectorDimensions(libtischPINVOKE.FeatureDimensions_bounds(swigCPtr), false);

        if (libtischPINVOKE.SWIGPendingException.Pending)
        {
            throw libtischPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 5
0
    public static vectorDimensions Repeat(Dimensions value, int count)
    {
        IntPtr           cPtr = libtischPINVOKE.vectorDimensions_Repeat(Dimensions.getCPtr(value), count);
        vectorDimensions ret  = (cPtr == IntPtr.Zero) ? null : new vectorDimensions(cPtr, true);

        if (libtischPINVOKE.SWIGPendingException.Pending)
        {
            throw libtischPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 6
0
    public vectorDimensions GetRange(int index, int count)
    {
        IntPtr           cPtr = libtischPINVOKE.vectorDimensions_GetRange(swigCPtr, index, count);
        vectorDimensions ret  = (cPtr == IntPtr.Zero) ? null : new vectorDimensions(cPtr, true);

        if (libtischPINVOKE.SWIGPendingException.Pending)
        {
            throw libtischPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 7
0
 internal static HandleRef getCPtr(vectorDimensions obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public void bounds(vectorDimensions _bounds) {
   libtischPINVOKE.FeatureDimensions_bounds(swigCPtr, vectorDimensions.getCPtr(_bounds));
   if (libtischPINVOKE.SWIGPendingException.Pending) throw libtischPINVOKE.SWIGPendingException.Retrieve();
 }