📄 point2d.java
字号:
package Math;
/**
* @author PanXu
*
*/
public class Point2D {
/**
* X,Y为下标索引
*/
public static final int X = 0;
public static final int Y = 1;
public float M[] = null;
public Point2D() {
super();
// TODO 自动生成构造函数存根
M = new float [2];
M[0] = 0 ;
M[1] = 0 ;
}
public Point2D(float x , float y) {
super();
// TODO 自动生成构造函数存根
M = new float [2];
M[0] = x ;
M[1] = y ;
}
public void Init (float x ,float y , float z)
{
this .M[0] = x;
this .M[1] = y;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -