Package org.miaixz.bus.core.data
Class Coordinate.Point
java.lang.Object
org.miaixz.bus.core.data.Coordinate.Point
- All Implemented Interfaces:
Serializable
- Enclosing class:
Coordinate
坐标经纬度
- See Also:
-
Constructor Details
-
Point
public Point(double lng, double lat) 构造- Parameters:
lng- 经度lat- 纬度
-
-
Method Details
-
getLng
public double getLng()获取经度- Returns:
- 经度
-
setLng
设置经度- Parameters:
lng- 经度- Returns:
- this
-
getLat
public double getLat()获取纬度- Returns:
- 纬度
-
setLat
设置纬度- Parameters:
lat- 纬度- Returns:
- this
-
offset
当前坐标偏移指定坐标- Parameters:
offset- 偏移量- Returns:
- this
-
equals
-
hashCode
public int hashCode() -
toString
-