Package com.azure.core.models
Class GeoLineString
java.lang.Object
com.azure.core.models.GeoObject
com.azure.core.models.GeoLineString
Represents a geometric line.
-
Constructor Summary
ConstructorsConstructorDescriptionGeoLineString(List<GeoPosition> positions) Constructs a geometric line.GeoLineString(List<GeoPosition> positions, GeoBoundingBox boundingBox, Map<String, Object> customProperties) Constructs a geometric line. -
Method Summary
Modifier and TypeMethodDescriptionbooleanUnmodifiable representation of thegeometric positionsrepresenting this line.getType()Gets the GeoJSON type for this object.inthashCode()Methods inherited from class com.azure.core.models.GeoObject
getBoundingBox, getCustomProperties
-
Constructor Details
-
GeoLineString
Constructs a geometric line.- Parameters:
positions- Geometric positions that define the line.- Throws:
NullPointerException- Ifpositionsisnull.
-
GeoLineString
public GeoLineString(List<GeoPosition> positions, GeoBoundingBox boundingBox, Map<String, Object> customProperties) Constructs a geometric line.- Parameters:
positions- Geometric positions that define the line.boundingBox- Bounding box for the line.customProperties- Additional properties of the geometric line.- Throws:
NullPointerException- Ifpositionsisnull.
-
-
Method Details
-
getCoordinates
Unmodifiable representation of thegeometric positionsrepresenting this line.- Returns:
- An unmodifiable representation of the
geometric positionsrepresenting this line.
-
getType
Description copied from class:GeoObjectGets the GeoJSON type for this object. -
hashCode
public int hashCode() -
equals
-