public static Point3Db operator -(Point3Db pt1, Point3Db pt2) { Point3Db pt3 = new Point3Db(); pt3.x = pt1.x - pt2.x; pt3.y = pt1.y - pt2.y; pt3.angle = pt1.angle - pt2.angle; return(pt3); }
public CaliParam() { this.camLightPara = new CameraLightPara(); this.localPara = new LocalPara(); this.AngleRange = 10.0; this.StartCaliPt = new Point3Db(); this.EndCaliPt = new Point3Db(); this.IsMoveX = false; this.IsMoveY = false; this.caliModel = CaliModelEnum.HandEyeCali; this.HomMat = new MyHomMat2D(); this.ListRectRegion = new List <RectangleF>(); this.ListPt2D = new List <Point2Db>(); this.cam = CameraEnum.Cam0; this.describe = "未定义"; this.CoordiCam = CoordiCamHandEyeMatEnum.Coordi0Cam0; }
public LocalSettingPara() { SearchAreaX = 0; SearchAreaY = 0; SearchWidth = 1000; SearchHeight = 1000; localModel = LocalModelEnum.Temp; GrabPosTeach = new Point3Db(); TeachImgLocal = new St_VectorAngle(); TeachCoordi = CoordiEmum.Coordi0; CoordiCam = CoordiCamHandEyeMatEnum.Coordi0Cam0; Offset_x_range = 1; Offset_y_range = 1; Offset_theta_range = 1; Offset_x = 0; Offset_y = 0; Offset_theta = 0; PixelSize = 1; }
public static bool Equal(Point3Db pt1, Point3Db pt2) { return(pt1.x == pt2.x && pt1.y == pt2.y && pt1.angle == pt2.angle); }