BaiduMapTileCutter/Point.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
namespace BaiduMapTileCutter
{
public class Point
{
private double x = 0;
private double y = 0;
public Point()
{
}
public Point(double x, double y)
{
this.x = x;
this.y = y;
}
public double X
{
get => x;
set
{
x = value;
}
}
public double Y
{
get => y;
set
{
y = value;
}
}
public Point Multiply(double factor)
{
return new Point(this.x * factor, this.y * factor);
}
public Point Divide(double factor)
{
return new Point(this.x / factor, this.y / factor);
}
public void Round()
{
this.x = Math.Round(this.x);
this.y = Math.Round(this.y);
}
public void Floor()
{
this.x = Math.Floor(this.x);
this.y = Math.Floor(this.y);
}
}
后面还有 1 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
