duheng
2025-03-28 9be9ba4e159969fb5e32648c2c34e912ccc3ae6d
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
namespace Yw.WinFrmUI.HydroL3d
{
    /// <summary>
    /// 管段
    /// </summary>
    public abstract class Link : Parter
    {
        /// <summary>
        /// 上游位置
        /// </summary>
        public Point3d StartPosition { get; set; }
 
        /// <summary>
        /// 下游位置
        /// </summary>
        public Point3d EndPosition { get; set; }
 
        /// <summary>
        /// 位置列表
        /// </summary>
        public virtual List<Point3d> Positions
        {
            get
            {
                return new List<Point3d>() { this.StartPosition, this.EndPosition };
            }
        }
 
    }
}