namespace Yw.EPAnet
{
///
/// 位置
///
public class Position2d
{
///
///
///
public Position2d() { }
///
///
///
public Position2d(double x, double y)
{
this.X = x;
this.Y = y;
}
///
///
///
public Position2d(float x, float y)
{
this.X = x;
this.Y = y;
}
///
///
///
public Position2d(Position2d rhs)
{
this.X = rhs.X;
this.Y = rhs.Y;
}
///
/// X
///
public double X { get; set; }
///
/// Y
///
public double Y { get; set; }
///
///
///
public override string ToString()
{
return $"{this.X},{this.Y}";
}
}
}