public final class GeoPoint extends GeoObject
| Constructor and Description |
|---|
GeoPoint(double longitude,
double latitude)
Constructs a
GeoPoint. |
GeoPoint(double longitude,
double latitude,
Double altitude)
Constructs a
GeoPoint. |
GeoPoint(GeoPosition position)
Constructs a geometric point.
|
GeoPoint(GeoPosition position,
GeoBoundingBox boundingBox,
Map<String,Object> customProperties)
Constructs a geometric point.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
GeoPosition |
getCoordinates()
The
geometric position of the point. |
GeoObjectType |
getType()
Gets the GeoJSON type for this object.
|
int |
hashCode() |
getBoundingBox, getCustomPropertiespublic GeoPoint(double longitude,
double latitude)
GeoPoint.longitude - The longitudinal position of the point.latitude - The latitudinal position of the point.public GeoPoint(double longitude,
double latitude,
Double altitude)
GeoPoint.longitude - The longitudinal position of the point.latitude - The latitudinal position of the point.altitude - The altitude of the point.public GeoPoint(GeoPosition position)
position - The geometric position of the point.NullPointerException - If position is null.public GeoPoint(GeoPosition position, GeoBoundingBox boundingBox, Map<String,Object> customProperties)
position - The geometric position of the point.boundingBox - Bounding box for the point.customProperties - Additional properties of the geometric point.NullPointerException - If position is null.public GeoPosition getCoordinates()
geometric position of the point.geometric position of the point.public GeoObjectType getType()
GeoObjectCopyright © 2021 Microsoft Corporation. All rights reserved.