本文整理汇总了C#中XYCoord类的典型用法代码示例。如果您正苦于以下问题:C# XYCoord类的具体用法?C# XYCoord怎么用?C# XYCoord使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
XYCoord类属于命名空间,在下文中一共展示了XYCoord类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Angle
public static double Angle(XYCoord m, XYCoord c1, XYCoord c2) {
double ret = VisionLabPINVOKE.Angle(XYCoord.getCPtr(m), XYCoord.getCPtr(c1), XYCoord.getCPtr(c2));
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例2: DiskShape
public static void DiskShape(RGB888Image image, XYCoord centre, double r, RGB888Pixel value, ZeroOrOriginal zorg) {
VisionLabPINVOKE.DiskShape__SWIG_14(RGB888Image.getCPtr(image), XYCoord.getCPtr(centre), r, RGB888Pixel.getCPtr(value), (int)zorg);
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
}
示例3: GetPixelPtr
public HSV161616Pixel GetPixelPtr(XYCoord xy) {
IntPtr cPtr = VisionLabPINVOKE.__NumHSV161616Image_GetPixelPtr__SWIG_1(swigCPtr, XYCoord.getCPtr(xy));
HSV161616Pixel ret = (cPtr == IntPtr.Zero) ? null : new HSV161616Pixel(cPtr, false);
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例4: CircleShape
public static void CircleShape(ComplexFloatImage image, XYCoord centre, int r, SWIGTYPE_p_std__complexT_float_t value, ZeroOrOriginal zorg) {
VisionLabPINVOKE.CircleShape__SWIG_26(ComplexFloatImage.getCPtr(image), XYCoord.getCPtr(centre), r, SWIGTYPE_p_std__complexT_float_t.getCPtr(value), (int)zorg);
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
}
示例5: SnapOnSoftTrigger
public static int SnapOnSoftTrigger(__Camera_Byte cam, XYCoord c1, XYCoord c2, double low, double high, int minPixels, DoubleImage image) {
int ret = VisionLabPINVOKE.SnapOnSoftTrigger__SWIG_15(__Camera_Byte.getCPtr(cam), XYCoord.getCPtr(c1), XYCoord.getCPtr(c2), low, high, minPixels, DoubleImage.getCPtr(image));
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例6: TrackBoundary
public static void TrackBoundary(Int32Image image, int label, XYCoord tml, ChainCode cc) {
VisionLabPINVOKE.TrackBoundary__SWIG_4(Int32Image.getCPtr(image), label, XYCoord.getCPtr(tml), ChainCode.getCPtr(cc));
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
}
示例7: RotateFullHW
public static HeightWidth RotateFullHW(Image src, double phi, XYCoord trans) {
HeightWidth ret = new HeightWidth(VisionLabPINVOKE.RotateFullHW(Image.getCPtr(src), phi, XYCoord.getCPtr(trans)), true);
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例8: CheckXYCoordInImage
public static bool CheckXYCoordInImage(Image image, XYCoord xy) {
bool ret = VisionLabPINVOKE.CheckXYCoordInImage(Image.getCPtr(image), XYCoord.getCPtr(xy));
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例9: FindCornersRectangleSq
public static bool FindCornersRectangleSq(Int32Image image, Connected connected, XYCoord leftTop, XYCoord rigthTop, XYCoord leftBottom, XYCoord rightBottom) {
bool ret = VisionLabPINVOKE.FindCornersRectangleSq__SWIG_4(Int32Image.getCPtr(image), (int)connected, XYCoord.getCPtr(leftTop), XYCoord.getCPtr(rigthTop), XYCoord.getCPtr(leftBottom), XYCoord.getCPtr(rightBottom));
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例10: FindCornersRectangle
public static bool FindCornersRectangle(Int16Image image, Connected connected, double deltaPhi, Orientation orient, XYCoord leftTop, XYCoord rigthTop, XYCoord leftBottom, XYCoord rightBottom) {
bool ret = VisionLabPINVOKE.FindCornersRectangle__SWIG_3(Int16Image.getCPtr(image), (int)connected, deltaPhi, (int)orient, XYCoord.getCPtr(leftTop), XYCoord.getCPtr(rigthTop), XYCoord.getCPtr(leftBottom), XYCoord.getCPtr(rightBottom));
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例11: BlockPattern
public static void BlockPattern(ComplexDoubleImage image, XYCoord leftTop, int height, int width, SWIGTYPE_p_std__complexT_double_t value, int repeatx, int repeaty) {
VisionLabPINVOKE.BlockPattern__SWIG_29(ComplexDoubleImage.getCPtr(image), XYCoord.getCPtr(leftTop), height, width, SWIGTYPE_p_std__complexT_double_t.getCPtr(value), repeatx, repeaty);
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
}
示例12: Distance
public static double Distance(LineXY line, XYCoord p) {
double ret = VisionLabPINVOKE.Distance__SWIG_1(LineXY.getCPtr(line), XYCoord.getCPtr(p));
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例13: FindEdgeLine
public static int FindEdgeLine(DoubleImage image, XYCoord middle, XYCoord endLine, XYCoord endBox, int lineDistance, double outlierDistance, int nrIterations, Line2D line) {
int ret = VisionLabPINVOKE.FindEdgeLine__SWIG_6(DoubleImage.getCPtr(image), XYCoord.getCPtr(middle), XYCoord.getCPtr(endLine), XYCoord.getCPtr(endBox), lineDistance, outlierDistance, nrIterations, Line2D.getCPtr(line));
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例14: RotateCoord
public static void RotateCoord(XYCoord xy, XYCoord centre, double phi) {
VisionLabPINVOKE.RotateCoord__SWIG_0(XYCoord.getCPtr(xy), XYCoord.getCPtr(centre), phi);
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
}
示例15: CheckCoord
public bool CheckCoord(XYCoord xy) {
bool ret = VisionLabPINVOKE.__NumHSV161616Image_CheckCoord__SWIG_1(swigCPtr, XYCoord.getCPtr(xy));
if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
return ret;
}