123456789101112131415161718192021222324252627282930 |
-
- namespace YOLODetectProcessLib
- {
- /// <summary>
- /// 2维坐标点
- /// </summary>
- public struct Point2D
- {
- /// <summary>
- /// X坐标
- /// </summary>
- public int X { get; set; }
- /// <summary>
- /// Y坐标
- /// </summary>
- public int Y { get; set; }
- /// <summary>
- /// 初始化
- /// </summary>
- /// <param name="x"></param>
- /// <param name="y"></param>
- public Point2D(int x, int y)
- {
- X = x;
- Y = y;
- }
- }
- }
|