logical_coordinate.dart 514 B

12345678910111213141516171819202122232425
  1. import 'package:fis_measure/interfaces/date_types/rect_region.dart';
  2. import 'package:vid/us/vid_us_unit.dart';
  3. import 'image_boundary.dart';
  4. /// 逻辑坐标系
  5. abstract class ILogicalCoordinate {
  6. /// 图像界限
  7. IImageBoundary get imageBoundary;
  8. /// 是否水平翻转
  9. bool get isFlipHorizontal;
  10. /// 是否垂直翻转
  11. bool get isFlipVertical;
  12. /// 所在区域(相对于整个图像)
  13. RectRegion get region;
  14. /// x轴单位
  15. VidUsUnit get xUnit;
  16. /// y轴单位
  17. VidUsUnit get yUnit;
  18. }