lixiaojun
2025-04-03 2e52f10a2cccb1471859b05e0d0e9dd9649859c8
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
namespace Yw.WpfUI.Hydro
{
    /// <summary>
    /// 管段
    /// </summary>
    public abstract class LinkL3d : VisualL3d
    {
        /// <summary>
        /// 
        /// </summary>
        public LinkL3d()
        {
            this.SimpleStyle = new SimpleLinkL3dStyle("#0000FF", 0.5d);
        }
 
        /// <summary>
        /// 
        /// </summary>
        public LinkL3d(LinkL3d rhs) : base(rhs)
        {
            this.StartPosition = new PointL3d(rhs.StartPosition);
            this.EndPosition = new PointL3d(rhs.EndPosition);
        }
 
        /// <summary>
        /// 上游位置
        /// </summary>
        public PointL3d StartPosition { get; set; }
 
        /// <summary>
        /// 下游位置
        /// </summary>
        public PointL3d EndPosition { get; set; }
 
        /// <summary>
        /// 简单样式
        /// </summary>
        public new SimpleLinkL3dStyle SimpleStyle
        {
            get { return _simpleStyle as SimpleLinkL3dStyle; }
            set { _simpleStyle = value; }
        }
 
        /// <summary>
        /// 获取位置
        /// </summary>
        public override List<PointL3d> GetPositions()
        {
            return new List<PointL3d>() { this.StartPosition, this.EndPosition };
        }
 
 
 
 
 
 
 
 
 
 
 
 
    }
}