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 booleanequals(Object obj)List<GeoPoint>getPoints()Unmodifiable representation of thegeometric pointsrepresenting this multi-point.GeoObjectTypegetType()Gets the GeoJSON type for this object.inthashCode()-
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- 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 Detail
-
getPoints
public List<GeoPoint> getPoints()
Unmodifiable representation of thegeometric pointsrepresenting this multi-point.- Returns:
- An unmodifiable representation of the
geometric pointsrepresenting this multi-point.
-
getType
public GeoObjectType getType()
Description copied from class:GeoObjectGets the GeoJSON type for this object.
-
-