/*-------------------------------------------------------------------------
 * 功能描述：XYZ
 * 作者：xulisong
 * 创建时间： 2019/6/12 10:46:22
 * 版本号：v1.0
 *  -------------------------------------------------------------------------*/

using System.Collections.Generic;

namespace JBIM.Definition
{
    public class XYZ
    {
        public double X { get; set; }
        public double Y { get; set; }
        public double Z { get; set; }

        public override string ToString()
        {
            return $"{X},{Y},{Z}";
        }
    }
    public class XY
    {
        public double X { get; set; }
        public double Y { get; set; }
    }

    public class Polygon : List<XYZ>
    {
        public Polygon()
        {

        }
        public Polygon(IEnumerable<XYZ> collection):base(collection)
        {

        }
    }
}
