zhao.algorithmMagic.operands.coordinate.Coordinate2D Maven / Gradle / Ivy
package zhao.algorithmMagic.operands.coordinate;
/**
* 二维坐标接口,所有的二维坐标的父类。
*
* Two-dimensional coordinate interface, the parent class of all two-dimensional coordinates.
*
* @param 坐标存储的数值类型
*/
public interface Coordinate2D extends Coordinate {
/**
* @return X轴的数值
*
* The value of the X axis
*/
value getX();
/**
* @return Y轴的数值
*
* The value of the Y axis
*/
value getY();
}