java.lang.Object
com.esri.arcgisruntime.geometry.Geometry
com.esri.arcgisruntime.geometry.Multipoint
- All Implemented Interfaces:
JsonSerializable
An ordered collection of points that can be managed as a single geometry.
Multipoint
geometries represent an ordered collection of points. They can be used as the geometry of
features and graphics, or as input or output for spatial operations. For features that consist of a very large
number of points that share the same set of attribute values, multipoints may be more efficient to store and
analyze in a geodatabase compared to using multiple point features.
A Multipoint
is composed of a single read-only collection of Point
. Use MultipointBuilder
to build a multipoint one point at a time or to modify an existing Multipoint
.
- Since:
- 100.0.0
- See Also:
-
Constructor Summary
ConstructorDescriptionMultipoint
(Iterable<Point> points) Creates a new multipoint from the given collection of points.Multipoint
(Iterable<Point> points, SpatialReference spatialReference) Creates a new multipoint from the given collection of points and using the given spatial reference. -
Method Summary
Modifier and TypeMethodDescriptionGets the read-only collection of points for the multipoint.Methods inherited from class com.esri.arcgisruntime.geometry.Geometry
equals, equals, fromJson, fromJson, getDimension, getExtent, getGeometryType, getSpatialReference, getUnknownJson, getUnsupportedJson, hasCurves, hashCode, hasM, hasZ, isEmpty, toJson
-
Constructor Details
-
Multipoint
Creates a new multipoint from the given collection of points. This is a convenient alternative to using a MultipointBuilder.- Parameters:
points
- the points that will make up the multipoint- Throws:
NullPointerException
- if points is null- Since:
- 100.0.0
-
Multipoint
Creates a new multipoint from the given collection of points and using the given spatial reference. This is a convenient alternative to using a MultipointBuilder.- Parameters:
points
- the points that will make up the multipointspatialReference
- the spatial reference- Throws:
NullPointerException
- if points is null- Since:
- 100.0.0
-
-
Method Details
-
getPoints
Gets the read-only collection of points for the multipoint.Use
MultipointBuilder
to build a multipoint one point at a time or to modify the points that compose an existingMultipoint
.- Returns:
- the collection of points that make up this Multipoint.
- Since:
- 100.0.0
-