pointdouble.java
来自「camra calibration and you will enjoy it!」· Java 代码 · 共 62 行
JAVA
62 行
/* * PointDouble.java * * Created on March 3, 2004, 12:11 AM */package itesm.gvision.tools;//----------------------------------------------------------------------------------/** * Un punto de coordenadas doubles. * @author hugo */public class PointDouble { public double x; public double y; //---------------------------------------------------------------------------------- /** Creates a new instance of PointDouble */ public PointDouble(double x, double y) { this.x = x; this.y = y; } //---------------------------------------------------------------------------------- public PointDouble() { this.x = 0; this.y = 0; } //---------------------------------------------------------------------------------- /** * Obtiene el valor de x */ public double getX() { return x; } //---------------------------------------------------------------------------------- /** * Obtiene el valor de y */ public double getY() { return y; } //---------------------------------------------------------------------------------- /** * Redefine el metodo toString */ public String toString() { return this.getClass().getName() + " [" + x + ", " + y + "]"; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?