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() { } } }