Esempio n. 1
0
 public vectorDouble(vectorDouble other) : this(libtischPINVOKE.new_vectorDouble__SWIG_1(vectorDouble.getCPtr(other)), true)
 {
     if (libtischPINVOKE.SWIGPendingException.Pending)
     {
         throw libtischPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public vectorDoubleEnumerator(vectorDouble collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Esempio n. 3
0
 public void SetRange(int index, vectorDouble values)
 {
     libtischPINVOKE.vectorDouble_SetRange(swigCPtr, index, vectorDouble.getCPtr(values));
     if (libtischPINVOKE.SWIGPendingException.Pending)
     {
         throw libtischPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
    public vectorDouble bounds()
    {
        vectorDouble ret = new vectorDouble(libtischPINVOKE.FeatureDouble_bounds(swigCPtr), false);

        if (libtischPINVOKE.SWIGPendingException.Pending)
        {
            throw libtischPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 5
0
    public static vectorDouble Repeat(double value, int count)
    {
        IntPtr       cPtr = libtischPINVOKE.vectorDouble_Repeat(value, count);
        vectorDouble ret  = (cPtr == IntPtr.Zero) ? null : new vectorDouble(cPtr, true);

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

        if (libtischPINVOKE.SWIGPendingException.Pending)
        {
            throw libtischPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 7
0
 internal static HandleRef getCPtr(vectorDouble obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }