public vector_float(vector_float other) : this(VisionLabPINVOKE.new_vector_float__SWIG_1(vector_float.getCPtr(other)), true) { if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } }
public vector_floatEnumerator(vector_float collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, vector_float values) { VisionLabPINVOKE.vector_float_SetRange(swigCPtr, index, vector_float.getCPtr(values)); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } }
public static vector_float Repeat(float value, int count) { IntPtr cPtr = VisionLabPINVOKE.vector_float_Repeat(value, count); vector_float ret = (cPtr == IntPtr.Zero) ? null : new vector_float(cPtr, true); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public vector_float GetRange(int index, int count) { IntPtr cPtr = VisionLabPINVOKE.vector_float_GetRange(swigCPtr, index, count); vector_float ret = (cPtr == IntPtr.Zero) ? null : new vector_float(cPtr, true); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static SWIGTYPE_p_std__setT_float_t VectorToSet_float(vector_float v) { SWIGTYPE_p_std__setT_float_t ret = new SWIGTYPE_p_std__setT_float_t(VisionLabPINVOKE.VectorToSet_float(vector_float.getCPtr(v)), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static void ResampleLine(FloatImage image, Coord2D start, Coord2D end, int nrPixels, vector_Coord2D cTab, vector_float pTab) { VisionLabPINVOKE.ResampleLine__SWIG_6(FloatImage.getCPtr(image), Coord2D.getCPtr(start), Coord2D.getCPtr(end), nrPixels, vector_Coord2D.getCPtr(cTab), vector_float.getCPtr(pTab)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(vector_float obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_float obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }