lixiaojun
2025-03-20 5066a3d90ab19f8380dbb4159d57b0b8e3f17649
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
 
namespace Yw.WinFrmUI.Hydro
{
    /// <summary>
    /// 节点
    /// </summary>
    public abstract class NodeL3d : VisualL3d
    {
        /// <summary>
        /// 
        /// </summary>
        public NodeL3d()
        {
            this.Style2d = new StyleNode2dL3d()
            {
                Normal = new StylePoint2dL3d(3f, Color.Red),
                Hovered = new StylePoint2dL3d(6f, "#00BFFF"),
                Selected = new StylePoint2dL3d(4f, "#008000")
            };
        }
 
        /// <summary>
        /// 
        /// </summary>
        public NodeL3d(NodeL3d rhs) : base(rhs)
        {
            this.Position = new PointL3d(rhs.Position);
            this.Style2d = new StyleNode2dL3d(rhs.Style2d);
        }
 
        /// <summary>
        /// 位置
        /// </summary>
        public PointL3d Position { get; set; }
 
        /// <summary>
        /// 2d样式
        /// </summary>
        public StyleNode2dL3d Style2d { get; set; }
 
        /// <summary>
        /// 获取位置
        /// </summary>
        public override List<PointL3d> GetPositions()
        {
            return new List<PointL3d>() { this.Position };
        }
 
 
 
 
 
 
 
 
 
 
    }
}