public CSVectorDoubleEnumerator(CSVectorDouble collection) { this.collectionRef = collection; this.currentIndex = -1; this.currentObject = null; this.currentSize = this.collectionRef.Count; }
public void SetRange(int index, CSVectorDouble values) { CocoStudioEngineAdapterPINVOKE.CSVectorDouble_SetRange(this.swigCPtr, index, CSVectorDouble.getCPtr(values)); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } }
public CSVectorDouble(CSVectorDouble other) : this(CocoStudioEngineAdapterPINVOKE.new_CSVectorDouble__SWIG_1(CSVectorDouble.getCPtr(other)), true) { if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } }
public static CSVectorDouble Repeat(double value, int count) { IntPtr intPtr = CocoStudioEngineAdapterPINVOKE.CSVectorDouble_Repeat(value, count); CSVectorDouble result = (intPtr == IntPtr.Zero) ? null : new CSVectorDouble(intPtr, true); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } return(result); }
public CSVectorDouble GetRange(int index, int count) { IntPtr intPtr = CocoStudioEngineAdapterPINVOKE.CSVectorDouble_GetRange(this.swigCPtr, index, count); CSVectorDouble result = (intPtr == IntPtr.Zero) ? null : new CSVectorDouble(intPtr, true); if (CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Pending) { throw CocoStudioEngineAdapterPINVOKE.SWIGPendingException.Retrieve(); } return(result); }
public static HandleRef getCPtr(CSVectorDouble obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }