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 TypeMethodDescriptionbooleanUnmodifiable representation of thegeometric pointsrepresenting this multi-point.getType()Gets the GeoJSON type for this object.inthashCode()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- Ifpointsisnull.
-
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- Ifpointsisnull.
-
-
Method Details
-
getPoints
Unmodifiable representation of thegeometric pointsrepresenting this multi-point.- Returns:
- An unmodifiable representation of the
geometric pointsrepresenting this multi-point.
-
getType
Description copied from class:GeoObjectGets the GeoJSON type for this object. -
hashCode
public int hashCode() -
equals
-