public vectorDouble(vectorDouble other) : this(libtischPINVOKE.new_vectorDouble__SWIG_1(vectorDouble.getCPtr(other)), true) { if (libtischPINVOKE.SWIGPendingException.Pending) { throw libtischPINVOKE.SWIGPendingException.Retrieve(); } }
public vectorDoubleEnumerator(vectorDouble collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, vectorDouble values) { libtischPINVOKE.vectorDouble_SetRange(swigCPtr, index, vectorDouble.getCPtr(values)); if (libtischPINVOKE.SWIGPendingException.Pending) { throw libtischPINVOKE.SWIGPendingException.Retrieve(); } }
public vectorDouble bounds() { vectorDouble ret = new vectorDouble(libtischPINVOKE.FeatureDouble_bounds(swigCPtr), false); if (libtischPINVOKE.SWIGPendingException.Pending) { throw libtischPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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); }
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); }
internal static HandleRef getCPtr(vectorDouble obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }