169 строки
13 KiB
YAML
169 строки
13 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.core.models.GeoPoint"
|
|
fullName: "com.azure.core.models.GeoPoint"
|
|
name: "GeoPoint"
|
|
nameWithType: "GeoPoint"
|
|
summary: "Represents a geometric point in GeoJSON format."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.models.GeoObject?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "<xref href=\"com.azure.core.models.GeoObject?alt=com.azure.core.models.GeoObject&text=GeoObject\" data-throw-if-not-resolved=\"False\" />"
|
|
methodsRef:
|
|
- "<xref href=\"com.azure.core.models.GeoObject.equals(java.lang.Object)?alt=com.azure.core.models.GeoObject.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.models.GeoObject.fromJson(com.azure.json.JsonReader)?alt=com.azure.core.models.GeoObject.fromJson&text=fromJson\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.models.GeoObject.getBoundingBox()?alt=com.azure.core.models.GeoObject.getBoundingBox&text=getBoundingBox\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.models.GeoObject.getCustomProperties()?alt=com.azure.core.models.GeoObject.getCustomProperties&text=getCustomProperties\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.models.GeoObject.getType()?alt=com.azure.core.models.GeoObject.getType&text=getType\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.models.GeoObject.hashCode()?alt=com.azure.core.models.GeoObject.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
|
|
- "<xref href=\"com.azure.core.models.GeoObject.toJson(com.azure.json.JsonWriter)?alt=com.azure.core.models.GeoObject.toJson&text=toJson\" data-throw-if-not-resolved=\"False\" />"
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **GeoPoint**</br> extends <xref href=\"com.azure.core.models.GeoObject?alt=com.azure.core.models.GeoObject&text=GeoObject\" data-throw-if-not-resolved=\"False\" />"
|
|
constructors:
|
|
- uid: "com.azure.core.models.GeoPoint.GeoPoint(com.azure.core.models.GeoPosition)"
|
|
fullName: "com.azure.core.models.GeoPoint.GeoPoint(GeoPosition position)"
|
|
name: "GeoPoint(GeoPosition position)"
|
|
nameWithType: "GeoPoint.GeoPoint(GeoPosition position)"
|
|
summary: "Constructs a geometric point."
|
|
parameters:
|
|
- description: "The <xref uid=\"com.azure.core.models.GeoPosition\" data-throw-if-not-resolved=\"false\" data-raw-source=\"geometric position\"></xref> of the point."
|
|
name: "position"
|
|
type: "<xref href=\"com.azure.core.models.GeoPosition?alt=com.azure.core.models.GeoPosition&text=GeoPosition\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public GeoPoint(GeoPosition position)"
|
|
desc: "Constructs a geometric point."
|
|
- uid: "com.azure.core.models.GeoPoint.GeoPoint(com.azure.core.models.GeoPosition,com.azure.core.models.GeoBoundingBox,java.util.Map<java.lang.String,java.lang.Object>)"
|
|
fullName: "com.azure.core.models.GeoPoint.GeoPoint(GeoPosition position, GeoBoundingBox boundingBox, Map<String,Object> customProperties)"
|
|
name: "GeoPoint(GeoPosition position, GeoBoundingBox boundingBox, Map<String,Object> customProperties)"
|
|
nameWithType: "GeoPoint.GeoPoint(GeoPosition position, GeoBoundingBox boundingBox, Map<String,Object> customProperties)"
|
|
summary: "Constructs a geometric point."
|
|
parameters:
|
|
- description: "The <xref uid=\"com.azure.core.models.GeoPosition\" data-throw-if-not-resolved=\"false\" data-raw-source=\"geometric position\"></xref> of the point."
|
|
name: "position"
|
|
type: "<xref href=\"com.azure.core.models.GeoPosition?alt=com.azure.core.models.GeoPosition&text=GeoPosition\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "Bounding box for the point."
|
|
name: "boundingBox"
|
|
type: "<xref href=\"com.azure.core.models.GeoBoundingBox?alt=com.azure.core.models.GeoBoundingBox&text=GeoBoundingBox\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "Additional properties of the geometric point."
|
|
name: "customProperties"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>,<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>>"
|
|
syntax: "public GeoPoint(GeoPosition position, GeoBoundingBox boundingBox, Map<String,Object> customProperties)"
|
|
desc: "Constructs a geometric point."
|
|
- uid: "com.azure.core.models.GeoPoint.GeoPoint(double,double)"
|
|
fullName: "com.azure.core.models.GeoPoint.GeoPoint(double longitude, double latitude)"
|
|
name: "GeoPoint(double longitude, double latitude)"
|
|
nameWithType: "GeoPoint.GeoPoint(double longitude, double latitude)"
|
|
summary: "Constructs a <xref uid=\"com.azure.core.models.GeoPoint\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoPoint\"></xref>."
|
|
parameters:
|
|
- description: "The longitudinal position of the point."
|
|
name: "longitude"
|
|
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "The latitudinal position of the point."
|
|
name: "latitude"
|
|
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public GeoPoint(double longitude, double latitude)"
|
|
desc: "Constructs a <xref uid=\"com.azure.core.models.GeoPoint\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoPoint\"></xref>."
|
|
- uid: "com.azure.core.models.GeoPoint.GeoPoint(double,double,java.lang.Double)"
|
|
fullName: "com.azure.core.models.GeoPoint.GeoPoint(double longitude, double latitude, Double altitude)"
|
|
name: "GeoPoint(double longitude, double latitude, Double altitude)"
|
|
nameWithType: "GeoPoint.GeoPoint(double longitude, double latitude, Double altitude)"
|
|
summary: "Constructs a <xref uid=\"com.azure.core.models.GeoPoint\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoPoint\"></xref>."
|
|
parameters:
|
|
- description: "The longitudinal position of the point."
|
|
name: "longitude"
|
|
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "The latitudinal position of the point."
|
|
name: "latitude"
|
|
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "The altitude of the point."
|
|
name: "altitude"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
|
|
syntax: "public GeoPoint(double longitude, double latitude, Double altitude)"
|
|
desc: "Constructs a <xref uid=\"com.azure.core.models.GeoPoint\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoPoint\"></xref>."
|
|
methods:
|
|
- uid: "com.azure.core.models.GeoPoint.equals(java.lang.Object)"
|
|
fullName: "com.azure.core.models.GeoPoint.equals(Object obj)"
|
|
name: "equals(Object obj)"
|
|
nameWithType: "GeoPoint.equals(Object obj)"
|
|
overridden: "com.azure.core.models.GeoObject.equals(java.lang.Object)"
|
|
parameters:
|
|
- name: "obj"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
syntax: "public boolean equals(Object obj)"
|
|
returns:
|
|
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.models.GeoPoint.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.core.models.GeoPoint.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "GeoPoint.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads a JSON stream into a <xref uid=\"com.azure.core.models.GeoPoint\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoPoint\"></xref>."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The <xref uid=\"com.azure.json.JsonReader\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonReader\"></xref> being read."
|
|
name: "jsonReader"
|
|
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static GeoPoint fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If the <code>type</code> node exists and isn't equal to <code>Point</code>."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads a JSON stream into a <xref uid=\"com.azure.core.models.GeoPoint\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoPoint\"></xref>."
|
|
returns:
|
|
description: "The <xref uid=\"com.azure.core.models.GeoPoint\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoPoint\"></xref> that the JSON stream represented, or null if it pointed to JSON null."
|
|
type: "<xref href=\"com.azure.core.models.GeoPoint?alt=com.azure.core.models.GeoPoint&text=GeoPoint\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.models.GeoPoint.getCoordinates()"
|
|
fullName: "com.azure.core.models.GeoPoint.getCoordinates()"
|
|
name: "getCoordinates()"
|
|
nameWithType: "GeoPoint.getCoordinates()"
|
|
summary: "The <xref uid=\"com.azure.core.models.GeoPosition\" data-throw-if-not-resolved=\"false\" data-raw-source=\"geometric position\"></xref> of the point."
|
|
syntax: "public GeoPosition getCoordinates()"
|
|
desc: "The <xref uid=\"com.azure.core.models.GeoPosition\" data-throw-if-not-resolved=\"false\" data-raw-source=\"geometric position\"></xref> of the point."
|
|
returns:
|
|
description: "The <xref uid=\"com.azure.core.models.GeoPosition\" data-throw-if-not-resolved=\"false\" data-raw-source=\"geometric position\"></xref> of the point."
|
|
type: "<xref href=\"com.azure.core.models.GeoPosition?alt=com.azure.core.models.GeoPosition&text=GeoPosition\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.models.GeoPoint.getType()"
|
|
fullName: "com.azure.core.models.GeoPoint.getType()"
|
|
name: "getType()"
|
|
nameWithType: "GeoPoint.getType()"
|
|
summary: "Gets the GeoJSON type for this object."
|
|
overridden: "com.azure.core.models.GeoObject.getType()"
|
|
syntax: "public GeoObjectType getType()"
|
|
desc: "Gets the GeoJSON type for this object."
|
|
returns:
|
|
type: "<xref href=\"com.azure.core.models.GeoObjectType?alt=com.azure.core.models.GeoObjectType&text=GeoObjectType\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.models.GeoPoint.hashCode()"
|
|
fullName: "com.azure.core.models.GeoPoint.hashCode()"
|
|
name: "hashCode()"
|
|
nameWithType: "GeoPoint.hashCode()"
|
|
overridden: "com.azure.core.models.GeoObject.hashCode()"
|
|
syntax: "public int hashCode()"
|
|
returns:
|
|
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.models.GeoPoint.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.core.models.GeoPoint.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "GeoPoint.toJson(JsonWriter jsonWriter)"
|
|
overridden: "com.azure.core.models.GeoObject.toJson(com.azure.json.JsonWriter)"
|
|
parameters:
|
|
- name: "jsonWriter"
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Represents a geometric point in GeoJSON format.\n\nThis class encapsulates a point defined by a <xref uid=\"com.azure.core.models.GeoPosition\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoPosition\"></xref> which includes the longitude, latitude, and optionally the altitude of the point.\n\nThis class also provides a <xref uid=\"com.azure.core.models.GeoPoint.toJson(com.azure.json.JsonWriter)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#toJson(JsonWriter)\"></xref> method to serialize the geometric point to JSON, and a <xref uid=\"com.azure.core.models.GeoPoint.fromJson(com.azure.json.JsonReader)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#fromJson(JsonReader)\"></xref> method to deserialize a geometric point from JSON."
|
|
metadata: {}
|
|
package: "com.azure.core.models"
|
|
artifact: com.azure:azure-core:1.54.0
|