azure-docs-sdk-java/docs-ref-autogen/com.azure.core.models.GeoPo...

127 строки
6.0 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.models.GeoPosition"
fullName: "com.azure.core.models.GeoPosition"
name: "GeoPosition"
nameWithType: "GeoPosition"
summary: "Represents a geo position."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedMembers:
- "java.lang.Object.clone()"
- "java.lang.Object.equals(java.lang.Object)"
- "java.lang.Object.finalize()"
- "java.lang.Object.getClass()"
- "java.lang.Object.hashCode()"
- "java.lang.Object.notify()"
- "java.lang.Object.notifyAll()"
- "java.lang.Object.toString()"
- "java.lang.Object.wait()"
- "java.lang.Object.wait(long)"
- "java.lang.Object.wait(long,int)"
syntax: "public final class GeoPosition"
constructors:
- uid: "com.azure.core.models.GeoPosition.GeoPosition(double,double)"
fullName: "com.azure.core.models.GeoPosition.GeoPosition(double longitude, double latitude)"
name: "GeoPosition(double longitude, double latitude)"
nameWithType: "GeoPosition.GeoPosition(double longitude, double latitude)"
summary: "Constructs a geo position."
parameters:
- description: "Longitudinal position."
name: "longitude"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
- description: "Latitudinal position."
name: "latitude"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
syntax: "public GeoPosition(double longitude, double latitude)"
desc: "Constructs a geo position."
- uid: "com.azure.core.models.GeoPosition.GeoPosition(double,double,java.lang.Double)"
fullName: "com.azure.core.models.GeoPosition.GeoPosition(double longitude, double latitude, Double altitude)"
name: "GeoPosition(double longitude, double latitude, Double altitude)"
nameWithType: "GeoPosition.GeoPosition(double longitude, double latitude, Double altitude)"
summary: "Constructs a geo position."
parameters:
- description: "Longitudinal position."
name: "longitude"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
- description: "Latitudinal position."
name: "latitude"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
- description: "Altitude position."
name: "altitude"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
syntax: "public GeoPosition(double longitude, double latitude, Double altitude)"
desc: "Constructs a geo position."
methods:
- uid: "com.azure.core.models.GeoPosition.count()"
fullName: "com.azure.core.models.GeoPosition.count()"
name: "count()"
nameWithType: "GeoPosition.count()"
summary: "Gets the number of coordinates used to compose the position."
syntax: "public int count()"
desc: "Gets the number of coordinates used to compose the position.\n\nThis will return either 2 or 3 depending on whether <xref uid=\"com.azure.core.models.GeoPosition.getAltitude()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"altitude is set\"></xref>."
returns:
description: "The number of coordinates used to compose the position."
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.models.GeoPosition.equals(java.lang.Object)"
fullName: "com.azure.core.models.GeoPosition.equals(Object obj)"
name: "equals(Object obj)"
nameWithType: "GeoPosition.equals(Object obj)"
overridden: "java.lang.Object.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.GeoPosition.getAltitude()"
fullName: "com.azure.core.models.GeoPosition.getAltitude()"
name: "getAltitude()"
nameWithType: "GeoPosition.getAltitude()"
summary: "The altitude of the geometric position."
syntax: "public Double getAltitude()"
desc: "The altitude of the geometric position."
returns:
description: "The altitude."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
- uid: "com.azure.core.models.GeoPosition.getLatitude()"
fullName: "com.azure.core.models.GeoPosition.getLatitude()"
name: "getLatitude()"
nameWithType: "GeoPosition.getLatitude()"
summary: "The latitudinal position of the geometric position."
syntax: "public double getLatitude()"
desc: "The latitudinal position of the geometric position."
returns:
description: "The latitudinal position."
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.models.GeoPosition.getLongitude()"
fullName: "com.azure.core.models.GeoPosition.getLongitude()"
name: "getLongitude()"
nameWithType: "GeoPosition.getLongitude()"
summary: "The longitudinal position of the geometric position."
syntax: "public double getLongitude()"
desc: "The longitudinal position of the geometric position."
returns:
description: "The longitudinal position."
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.models.GeoPosition.hashCode()"
fullName: "com.azure.core.models.GeoPosition.hashCode()"
name: "hashCode()"
nameWithType: "GeoPosition.hashCode()"
overridden: "java.lang.Object.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.GeoPosition.toString()"
fullName: "com.azure.core.models.GeoPosition.toString()"
name: "toString()"
nameWithType: "GeoPosition.toString()"
overridden: "java.lang.Object.toString()"
syntax: "public String toString()"
returns:
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "Represents a geo position."
metadata: {}
package: "com.azure.core.models"
artifact: com.azure:azure-core:1.32.0