35 lines
		
	
	
		
			781 B
		
	
	
	
		
			C#
		
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			781 B
		
	
	
	
		
			C#
		
	
	
	
namespace LY.App.Model
 | 
						|
{
 | 
						|
    public struct BasePoint
 | 
						|
    {
 | 
						|
        public BasePoint(double x, double y, double z, string time = null)
 | 
						|
        {
 | 
						|
            this.X = x;
 | 
						|
            this.Y = y;
 | 
						|
            this.Z = z;
 | 
						|
            this.Time = time;
 | 
						|
        }
 | 
						|
 | 
						|
        public double X { get; set; }
 | 
						|
 | 
						|
        public double Y { get; set; }
 | 
						|
 | 
						|
        /// <summary>
 | 
						|
        /// 高度
 | 
						|
        /// </summary>
 | 
						|
        public double Z { get; set; }
 | 
						|
 | 
						|
        public string Time { get; set; }
 | 
						|
 | 
						|
        /// <summary>
 | 
						|
        /// 两点值是否相等
 | 
						|
        /// </summary>
 | 
						|
        /// <param name="basePoint"></param>
 | 
						|
        /// <returns></returns>
 | 
						|
        public bool Equal(BasePoint basePoint)
 | 
						|
        {
 | 
						|
            return basePoint.X == this.X && basePoint.Y == this.Y;
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |