namespace Yw.WinFrmUI.HydroW3d
{
///
/// 节点
///
public class NodeViewModel : VisualViewModel
{
///
///
///
public NodeViewModel() { }
///
///
///
public NodeViewModel(NodeViewModel rhs) : base(rhs)
{
this.Position = new Point3d(rhs.Position);
this.LinkIds = new List();
}
///
/// 位置
///
[JsonProperty("Position", NullValueHandling = NullValueHandling.Ignore)]
public Point3d Position { get; set; }
///
/// 连接Ids
///
[JsonProperty("LinkIds", NullValueHandling = NullValueHandling.Ignore)]
public List LinkIds { get; set; }
}
}