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

138 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.models.GeoLineString"
fullName: "com.azure.core.models.GeoLineString"
name: "GeoLineString"
nameWithType: "GeoLineString"
summary: "Represents a geometric line string."
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 **GeoLineString**</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.GeoLineString.GeoLineString(java.util.List<com.azure.core.models.GeoPosition>)"
fullName: "com.azure.core.models.GeoLineString.GeoLineString(List<GeoPosition> positions)"
name: "GeoLineString(List<GeoPosition> positions)"
nameWithType: "GeoLineString.GeoLineString(List<GeoPosition> positions)"
summary: "Constructs a geometric line."
parameters:
- description: "Geometric positions that define the line."
name: "positions"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.core.models.GeoPosition?alt=com.azure.core.models.GeoPosition&text=GeoPosition\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public GeoLineString(List<GeoPosition> positions)"
desc: "Constructs a geometric line."
- uid: "com.azure.core.models.GeoLineString.GeoLineString(java.util.List<com.azure.core.models.GeoPosition>,com.azure.core.models.GeoBoundingBox,java.util.Map<java.lang.String,java.lang.Object>)"
fullName: "com.azure.core.models.GeoLineString.GeoLineString(List<GeoPosition> positions, GeoBoundingBox boundingBox, Map<String,Object> customProperties)"
name: "GeoLineString(List<GeoPosition> positions, GeoBoundingBox boundingBox, Map<String,Object> customProperties)"
nameWithType: "GeoLineString.GeoLineString(List<GeoPosition> positions, GeoBoundingBox boundingBox, Map<String,Object> customProperties)"
summary: "Constructs a geometric line."
parameters:
- description: "Geometric positions that define the line."
name: "positions"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.core.models.GeoPosition?alt=com.azure.core.models.GeoPosition&text=GeoPosition\" data-throw-if-not-resolved=\"False\" />&gt;"
- description: "Bounding box for the line."
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 line."
name: "customProperties"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Map.html\">Map</a>&lt;<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>&gt;"
syntax: "public GeoLineString(List<GeoPosition> positions, GeoBoundingBox boundingBox, Map<String,Object> customProperties)"
desc: "Constructs a geometric line."
methods:
- uid: "com.azure.core.models.GeoLineString.equals(java.lang.Object)"
fullName: "com.azure.core.models.GeoLineString.equals(Object obj)"
name: "equals(Object obj)"
nameWithType: "GeoLineString.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.GeoLineString.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.core.models.GeoLineString.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "GeoLineString.fromJson(JsonReader jsonReader)"
summary: "Reads a JSON stream into a <xref uid=\"com.azure.core.models.GeoLineString\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoLineString\"></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 GeoLineString fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the <code>type</code> node exists and isn't equal to <code>LineString</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.GeoLineString\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoLineString\"></xref>."
returns:
description: "The <xref uid=\"com.azure.core.models.GeoLineString\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoLineString\"></xref> that the JSON stream represented, or null if it pointed to JSON null."
type: "<xref href=\"com.azure.core.models.GeoLineString?alt=com.azure.core.models.GeoLineString&text=GeoLineString\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.models.GeoLineString.getCoordinates()"
fullName: "com.azure.core.models.GeoLineString.getCoordinates()"
name: "getCoordinates()"
nameWithType: "GeoLineString.getCoordinates()"
summary: "Unmodifiable representation of the <xref uid=\"com.azure.core.models.GeoPosition\" data-throw-if-not-resolved=\"false\" data-raw-source=\"geometric positions\"></xref> representing this line."
syntax: "public List<GeoPosition> getCoordinates()"
desc: "Unmodifiable representation of the <xref uid=\"com.azure.core.models.GeoPosition\" data-throw-if-not-resolved=\"false\" data-raw-source=\"geometric positions\"></xref> representing this line."
returns:
description: "An unmodifiable representation of the <xref uid=\"com.azure.core.models.GeoPosition\" data-throw-if-not-resolved=\"false\" data-raw-source=\"geometric positions\"></xref> representing this line."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.core.models.GeoPosition?alt=com.azure.core.models.GeoPosition&text=GeoPosition\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.core.models.GeoLineString.getType()"
fullName: "com.azure.core.models.GeoLineString.getType()"
name: "getType()"
nameWithType: "GeoLineString.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.GeoLineString.hashCode()"
fullName: "com.azure.core.models.GeoLineString.hashCode()"
name: "hashCode()"
nameWithType: "GeoLineString.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.GeoLineString.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.core.models.GeoLineString.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "GeoLineString.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 line string.\n\nThis class encapsulates a list of <xref uid=\"com.azure.core.models.GeoPosition\" data-throw-if-not-resolved=\"false\" data-raw-source=\"GeoPosition\"></xref> instances that form a line string. A line string is a curve with linear interpolation between points.\n\nThis class is useful when you want to work with a line string in a geographic context. For example, you can use it to represent a route on a map or the shape of a geographic feature.\n\nNote: A line string requires at least 2 coordinates."
metadata: {}
package: "com.azure.core.models"
artifact: com.azure:azure-core:1.54.0