📄 point.java
字号:
package com.esri.solutions.jitk.services.elevation;
/**
* Represents information about a Point on the Map. The Point
* will be in Map coordinates and not Screen Coordinates.
*/
public class Point {
/**
* X-coordinate
*/
private double m_x;
/**
* Y-coordinate
*/
private double m_y;
/**
* Spatial Reference System ID.
*/
private int m_srsId;
/**
* Returns the X-coordinate of the Point.
*
* @return X-coordinate.
*/
public double getX() {
return m_x;
}
/**
* Sets the X-coordinate of the Point.
*
* @param x X-coordinate
*/
public void setX(double x) {
this.m_x = x;
}
/**
* Returns the Y-coordinate of the Point.
*
* @return Y-coordinate.
*/
public double getY() {
return m_y;
}
/**
* Sets the Y-coordinate of the Point.
*
* @param y Y-coordinate
*/
public void setY(double y) {
this.m_y = y;
}
/**
* Returns the ID of the Spatial Reference System of the
* Point. The ID is also known as the Factory Code of
* the Spatial Reference System.
*
* @return ID of Spatial Reference System.
*/
public int getSrsId() {
return m_srsId;
}
/**
* Sets the ID of the Spatial Reference System of the
* Point. The ID is also known as the Factory Code
* of the Spatial Reference System.
*
* @param id ID of the Spatial Reference System.
*/
public void setSrsId(int id) {
m_srsId = id;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -