类 GeoPoint


  • public class GeoPoint
    extends java.lang.Object
    地理位置的点
    版本:
    1.0 2019年7月26日
    作者:
    帮帮组
    • 构造器概要

      构造器 
      构造器 说明
      GeoPoint​(double longitude, double latitude)
      使用指定的经纬度构造一个地理位置点
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      double getLatitude()  
      double getLongitude()  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • GeoPoint

        public GeoPoint​(double longitude,
                        double latitude)
        使用指定的经纬度构造一个地理位置点
        参数:
        longitude - 经度
        latitude - 纬度
    • 方法详细资料

      • getLongitude

        public double getLongitude()
        返回:
        经度
      • getLatitude

        public double getLatitude()
        返回:
        纬度