using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Hydro.Model { public class NodeObject : ElementObject { public NodeObject() { } public NodeObject(NodeObject obj) : base(obj) { this.Position = this.Position; } /// /// 位置 /// public Point Position { get; set; } /// /// /// public Point2d Position2d { get { if (this.Position == null) return null; return new Point2d(Position); } } /// /// /// public double Height { get { if (this.Position == null) return 0; return Position.Z; } } } }