public CamCalibGA(HeightWidth hw, vector_CamCalLowHigh tab, vector_Coord2D pixelTab, vector_Coord3D worldTab, double mutationP, double deltaP, int populationSize, int trace, string traceFileName) : this(VisionLabPINVOKE.new_CamCalibGA__SWIG_0(HeightWidth.getCPtr(hw), vector_CamCalLowHigh.getCPtr(tab), vector_Coord2D.getCPtr(pixelTab), vector_Coord3D.getCPtr(worldTab), mutationP, deltaP, populationSize, trace, traceFileName), true) { if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } }
public CamCalibGA(HeightWidth hw, vector_CamCalLowHigh tab, vector_Coord2D pixelTab, vector_Coord3D worldTab, double mutationP, double deltaP) : this(VisionLabPINVOKE.new_CamCalibGA__SWIG_3(HeightWidth.getCPtr(hw), vector_CamCalLowHigh.getCPtr(tab), vector_Coord2D.getCPtr(pixelTab), vector_Coord3D.getCPtr(worldTab), mutationP, deltaP), true) { if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } }
public vector_Coord2D(vector_Coord2D other) : this(VisionLabPINVOKE.new_vector_Coord2D__SWIG_1(vector_Coord2D.getCPtr(other)), true) { if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } }
public vector_Coord2DEnumerator(vector_Coord2D collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, vector_Coord2D values) { VisionLabPINVOKE.vector_Coord2D_SetRange(swigCPtr, index, vector_Coord2D.getCPtr(values)); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } }
public static vector_Coord2D Repeat(Coord2D value, int count) { IntPtr cPtr = VisionLabPINVOKE.vector_Coord2D_Repeat(Coord2D.getCPtr(value), count); vector_Coord2D ret = (cPtr == IntPtr.Zero) ? null : new vector_Coord2D(cPtr, true); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public vector_Coord2D GetRange(int index, int count) { IntPtr cPtr = VisionLabPINVOKE.vector_Coord2D_GetRange(swigCPtr, index, count); vector_Coord2D ret = (cPtr == IntPtr.Zero) ? null : new vector_Coord2D(cPtr, true); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static void Line2DToCoords(Coord2D start, Coord2D end, int nrCoords, vector_Coord2D res) { VisionLabPINVOKE.Line2DToCoords__SWIG_2(Coord2D.getCPtr(start), Coord2D.getCPtr(end), nrCoords, vector_Coord2D.getCPtr(res)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static vector_Coord2D Line2DToCoords(Line2D line, int nrCoords) { vector_Coord2D ret = new vector_Coord2D(VisionLabPINVOKE.Line2DToCoords__SWIG_1(Line2D.getCPtr(line), nrCoords), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static vector_Coord2D Line2DToCoords(Coord2D start, Coord2D end, int nrCoords) { vector_Coord2D ret = new vector_Coord2D(VisionLabPINVOKE.Line2DToCoords__SWIG_0(Coord2D.getCPtr(start), Coord2D.getCPtr(end), nrCoords), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static void ResampleLine(DoubleImage src, DoubleImage dest, Coord2D start, Coord2D end, int nrPixels, vector_Coord2D cTab) { VisionLabPINVOKE.ResampleLine__SWIG_13(DoubleImage.getCPtr(src), DoubleImage.getCPtr(dest), Coord2D.getCPtr(start), Coord2D.getCPtr(end), nrPixels, vector_Coord2D.getCPtr(cTab)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void ResampleLine(DoubleImage image, Coord2D start, Coord2D end, int nrPixels, vector_Coord2D cTab, vector_double pTab) { VisionLabPINVOKE.ResampleLine__SWIG_7(DoubleImage.getCPtr(image), Coord2D.getCPtr(start), Coord2D.getCPtr(end), nrPixels, vector_Coord2D.getCPtr(cTab), vector_double.getCPtr(pTab)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public CamCalibGA(HeightWidth hw, vector_CamCalLowHigh tab, vector_Coord2D pixelTab, vector_Coord3D worldTab, double mutationP, double deltaP) : this(VisionLabPINVOKE.new_CamCalibGA__SWIG_3(HeightWidth.getCPtr(hw), vector_CamCalLowHigh.getCPtr(tab), vector_Coord2D.getCPtr(pixelTab), vector_Coord3D.getCPtr(worldTab), mutationP, deltaP), true) { if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static void FindSubEdgesInScanLines(DoubleImage image, vector_XYCoord startLineTab, vector_XYCoord endLineTab, vector_Coord2D xTab) { VisionLabPINVOKE.FindSubEdgesInScanLines__SWIG_6(DoubleImage.getCPtr(image), vector_XYCoord.getCPtr(startLineTab), vector_XYCoord.getCPtr(endLineTab), vector_Coord2D.getCPtr(xTab)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static vector_Coord2D StrToCoord2DTab(string str) { vector_Coord2D ret = new vector_Coord2D(VisionLabPINVOKE.StrToCoord2DTab(str), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static void Line2DToCoords(Line2D line, int nrCoords, vector_Coord2D res) { VisionLabPINVOKE.Line2DToCoords__SWIG_3(Line2D.getCPtr(line), nrCoords, vector_Coord2D.getCPtr(res)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(vector_Coord2D obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_Coord2D obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public static string Coord2DTabToStr(vector_Coord2D tab) { string ret = VisionLabPINVOKE.Coord2DTabToStr(vector_Coord2D.getCPtr(tab)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static Line2D LineairRegression(vector_Coord2D tab) { Line2D ret = new Line2D(VisionLabPINVOKE.LineairRegression(vector_Coord2D.getCPtr(tab)), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static int FindSubEdgesOnLine(DoubleImage image, Coord2D start, Coord2D end, double minEdge, vector_Coord2D edges) { int ret = VisionLabPINVOKE.FindSubEdgesOnLine__SWIG_6(DoubleImage.getCPtr(image), Coord2D.getCPtr(start), Coord2D.getCPtr(end), minEdge, vector_Coord2D.getCPtr(edges)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static void CircleRegression(vector_Coord2D tab, Coord2D center, ref double radius) { VisionLabPINVOKE.CircleRegression(vector_Coord2D.getCPtr(tab), Coord2D.getCPtr(center), ref radius); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static Line2D LongestLineBetweenCoords(vector_Coord2D tab, ref int startIndex, ref int endIndex) { Line2D ret = new Line2D(VisionLabPINVOKE.LongestLineBetweenCoords__SWIG_1(vector_Coord2D.getCPtr(tab), ref startIndex, ref endIndex), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public CamCalibGA(HeightWidth hw, vector_CamCalLowHigh tab, vector_Coord2D pixelTab, vector_Coord3D worldTab, double mutationP, double deltaP, int populationSize, int trace, string traceFileName) : this(VisionLabPINVOKE.new_CamCalibGA__SWIG_0(HeightWidth.getCPtr(hw), vector_CamCalLowHigh.getCPtr(tab), vector_Coord2D.getCPtr(pixelTab), vector_Coord3D.getCPtr(worldTab), mutationP, deltaP, populationSize, trace, traceFileName), true) { if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }