Package com.azure.core.models
Class GeoPointCollection
- java.lang.Object
-
- com.azure.core.models.GeoObject
-
- com.azure.core.models.GeoPointCollection
-
-
Constructor Summary
Constructors Constructor Description GeoPointCollection(List<GeoPoint> points)
Constructs aGeoPointCollection
.GeoPointCollection(List<GeoPoint> points, GeoBoundingBox boundingBox, Map<String,Object> customProperties)
Constructs aGeoPointCollection
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
List<GeoPoint>
getPoints()
Unmodifiable representation of thegeometric points
representing this multi-point.GeoObjectType
getType()
Gets the GeoJSON type for this object.int
hashCode()
-
Methods inherited from class com.azure.core.models.GeoObject
getBoundingBox, getCustomProperties
-
-
-
-
Constructor Detail
-
GeoPointCollection
public GeoPointCollection(List<GeoPoint> points)
Constructs aGeoPointCollection
.- Parameters:
points
- The points that define the multi-point.- Throws:
NullPointerException
- Ifpoints
isnull
.
-
GeoPointCollection
public GeoPointCollection(List<GeoPoint> points, GeoBoundingBox boundingBox, Map<String,Object> customProperties)
Constructs aGeoPointCollection
.- Parameters:
points
- The points that define the multi-point.boundingBox
- Bounding box for the multi-point.customProperties
- Additional properties of the multi-point.- Throws:
NullPointerException
- Ifpoints
isnull
.
-
-
Method Detail
-
getPoints
public List<GeoPoint> getPoints()
Unmodifiable representation of thegeometric points
representing this multi-point.- Returns:
- An unmodifiable representation of the
geometric points
representing this multi-point.
-
getType
public GeoObjectType getType()
Description copied from class:GeoObject
Gets the GeoJSON type for this object.
-
-