42 lines
677 B
Java
42 lines
677 B
Java
package ink.wgink.util.point;
|
|
|
|
/**
|
|
* When you feel like quitting. Think about why you started
|
|
* 当你想要放弃的时候,想想当初你为何开始
|
|
*
|
|
* @ClassName: Point
|
|
* @Description: 点
|
|
* @Author: WangGeng
|
|
* @Date: 2019-08-09 22:44
|
|
* @Version: 1.0
|
|
**/
|
|
public class Point {
|
|
|
|
private double x;
|
|
private double y;
|
|
|
|
public Point() {
|
|
}
|
|
|
|
public Point(double x, double y) {
|
|
this.x = x;
|
|
this.y = y;
|
|
}
|
|
|
|
public double getX() {
|
|
return x;
|
|
}
|
|
|
|
public void setX(double x) {
|
|
this.x = x;
|
|
}
|
|
|
|
public double getY() {
|
|
return y;
|
|
}
|
|
|
|
public void setY(double y) {
|
|
this.y = y;
|
|
}
|
|
}
|