Esempio n. 1
0
 public vectorf(vectorf other) : this(csogmaneoPINVOKE.new_vectorf__SWIG_1(vectorf.getCPtr(other)), true)
 {
     if (csogmaneoPINVOKE.SWIGPendingException.Pending)
     {
         throw csogmaneoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public vectorfEnumerator(vectorf collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Esempio n. 3
0
 public void setValues(vectorf values)
 {
     csogmaneoPINVOKE.ValueField2D_setValues(swigCPtr, vectorf.getCPtr(values));
     if (csogmaneoPINVOKE.SWIGPendingException.Pending)
     {
         throw csogmaneoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
 public void SetRange(int index, vectorf values)
 {
     csogmaneoPINVOKE.vectorf_SetRange(swigCPtr, index, vectorf.getCPtr(values));
     if (csogmaneoPINVOKE.SWIGPendingException.Pending)
     {
         throw csogmaneoPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 5
0
        public static vectorf Repeat(float value, int count)
        {
            global::System.IntPtr cPtr = csogmaneoPINVOKE.vectorf_Repeat(value, count);
            vectorf ret = (cPtr == global::System.IntPtr.Zero) ? null : new vectorf(cPtr, true);

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

            if (csogmaneoPINVOKE.SWIGPendingException.Pending)
            {
                throw csogmaneoPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Esempio n. 7
0
        public vectorf getData()
        {
            vectorf ret = new vectorf(csogmaneoPINVOKE.ValueField2D_getData(swigCPtr), false);

            return(ret);
        }
Esempio n. 8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vectorf obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }