namespace Yw.WpfUI.Hydro
{
///
/// 节点
///
public abstract class NodeL3d : VisualL3d
{
///
///
///
public NodeL3d()
{
this.SimpleStyle = new SimpleNodeL3dStyle("#E94242", 0.5d);
}
///
///
///
public NodeL3d(NodeL3d rhs) : base(rhs)
{
this.Position = new PointL3d(rhs.Position);
}
///
/// 位置
///
public PointL3d Position { get; set; }
///
/// 简单样式
///
public new SimpleNodeL3dStyle SimpleStyle
{
get { return _simpleStyle as SimpleNodeL3dStyle; }
set { _simpleStyle = value; }
}
///
/// 获取位置
///
public override List GetPositions()
{
return new List() { this.Position };
}
}
}