12345678910111213141516171819202122232425262728293031323334353637383940 |
- /*-------------------------------------------------------------------------
- * 功能描述: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)
- {
- }
- }
- }
|