Package com.azure.core.models
Class GeoPointCollection
java.lang.Object
com.azure.core.models.GeoObject
com.azure.core.models.GeoPointCollection
Represents a collection of
GeoPoints
.-
Constructor Summary
ConstructorsConstructorDescriptionGeoPointCollection
(List<GeoPoint> points) Constructs aGeoPointCollection
.GeoPointCollection
(List<GeoPoint> points, GeoBoundingBox boundingBox, Map<String, Object> customProperties) Constructs aGeoPointCollection
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Unmodifiable representation of thegeometric points
representing this multi-point.getType()
Gets the GeoJSON type for this object.int
hashCode()
Methods inherited from class com.azure.core.models.GeoObject
getBoundingBox, getCustomProperties
-
Constructor Details
-
GeoPointCollection
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 Details
-
getPoints
Unmodifiable representation of thegeometric points
representing this multi-point.- Returns:
- An unmodifiable representation of the
geometric points
representing this multi-point.
-
getType
Description copied from class:GeoObject
Gets the GeoJSON type for this object. -
hashCode
public int hashCode() -
equals
-