You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
857 B
C#

7 months ago
namespace MES.Interface
{
public class PlacePoint
{
public double x { get; set; } //X轴
public double y { get; set; } //Y轴
public double len { get; set; } //
public PlacePoint(double x, double y)
{
this.x = x;
this.y = y;
}
//public PlacePoint(double x, double y, double len)
//{
// this.x = x;
// this.y = y;
// this.len = len;
//}
//public int compareTo(PlacePoint o)
//{
// // 优先往下排 然后优先往左排
// int compare_y = o.y.CompareTo(y);
// if (compare_y != 0)
// {
// return compare_y;
// }
// else
// {
// return o.x.CompareTo(x);
// }
//}
}
}