Uses of Class
cn.leancloud.types.LCGeoPoint
Packages that use LCGeoPoint
-
Uses of LCGeoPoint in cn.leancloud
Methods in cn.leancloud that return LCGeoPointModifier and TypeMethodDescriptionLCObject.getLCGeoPoint(String key) Get AVGeoPoint value of specified key.Methods in cn.leancloud with parameters of type LCGeoPointModifier and TypeMethodDescriptionLCQuery.whereNear(String key, LCGeoPoint point) Add a proximity based constraint for finding objects with key point values near the point given.LCQuery.whereWithinGeoBox(String key, LCGeoPoint southwest, LCGeoPoint northeast) Add a constraint to the query that requires a particular key's coordinates be contained within a given rectangular geographic bounding box.LCQuery.whereWithinKilometers(String key, LCGeoPoint point, double maxDistance) Add a proximity based constraint for finding objects with key point values near the point given and within the maximum distance given.LCQuery.whereWithinKilometers(String key, LCGeoPoint point, double maxDistance, double minDistance) Add a proximity based constraint for finding objects with key point values near the point given and within the given ring area Radius of earth used is 6371.0 kilometers.LCQuery.whereWithinMiles(String key, LCGeoPoint point, double maxDistance) Add a proximity based constraint for finding objects with key point values near the point given and within the maximum distance given.LCQuery.whereWithinMiles(String key, LCGeoPoint point, double maxDistance, double minDistance) Add a proximity based constraint for finding objects with key point values near the point given and within the given ring.LCQuery.whereWithinRadians(String key, LCGeoPoint point, double maxDistance) Add a proximity based constraint for finding objects with key point values near the point given and within the maximum distance given.LCQuery.whereWithinRadians(String key, LCGeoPoint point, double maxDistance, double minDistance) Add a proximity based constraint for finding objects with key point values near the point given and within the maximum distance given. -
Uses of LCGeoPoint in cn.leancloud.query
Methods in cn.leancloud.query with parameters of type LCGeoPointModifier and TypeMethodDescriptionvoidQueryConditions.whereNear(String key, LCGeoPoint point) voidQueryConditions.whereWithinGeoBox(String key, LCGeoPoint southwest, LCGeoPoint northeast) voidQueryConditions.whereWithinKilometers(String key, LCGeoPoint point, double maxDistance) voidQueryConditions.whereWithinKilometers(String key, LCGeoPoint point, double maxDistance, double minDistance) voidQueryConditions.whereWithinMiles(String key, LCGeoPoint point, double maxDistance) voidQueryConditions.whereWithinMiles(String key, LCGeoPoint point, double maxDistance, double minDistance) voidQueryConditions.whereWithinRadians(String key, LCGeoPoint point, double maxDistance) voidQueryConditions.whereWithinRadians(String key, LCGeoPoint point, double maxDistance, double minDistance) -
Uses of LCGeoPoint in cn.leancloud.search
Methods in cn.leancloud.search with parameters of type LCGeoPointModifier and TypeMethodDescriptionLCSearchSortBuilder.whereNear(String key, LCGeoPoint point) LCSearchSortBuilder.whereNear(String key, LCGeoPoint point, String order) 按照地理位置信息远近排序,key对应的字段类型必须是GeoPoint。 -
Uses of LCGeoPoint in cn.leancloud.types
Methods in cn.leancloud.types with parameters of type LCGeoPointModifier and TypeMethodDescriptiondoubleLCGeoPoint.distanceInKilometersTo(LCGeoPoint point) Get distance bw this point and another point in kilometers.doubleLCGeoPoint.distanceInMilesTo(LCGeoPoint point) Get distance between this point and another geopoint in miles.doubleLCGeoPoint.distanceInRadiansTo(LCGeoPoint point) Get distance in radians between this point and another GeoPoint.