xcd
2020-03-28 18a29824a66de5bdd26bb8d16f4b6b4380740120
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HalconDotNet;
 
namespace HalconTools
{
    public class LinePosition
    {
        public double hv_RowBegin { get; set; }
 
        public double hv_ColumnBegin { get; set; }
 
        public double hv_RowEnd { get; set; }
 
        public double hv_ColumnEnd { get; set; }
 
 
        public LinePosition(HTuple position)
        {
            this.hv_RowBegin = position[0].D;
            this.hv_ColumnBegin = position[1].D;
            this.hv_RowEnd = position[2].D;
            this.hv_ColumnEnd = position[3].D;
        }
 
        public LinePosition()
        {
 
        }
    }
}