Package org.elasticsearch.geo.geometry
Class MultiPoint
- java.lang.Object
-
- org.elasticsearch.geo.geometry.GeometryCollection<Point>
-
- org.elasticsearch.geo.geometry.MultiPoint
-
public class MultiPoint extends GeometryCollection<Point>
Represents a MultiPoint object on the earth's surface in decimal degrees and optional altitude in meters.
-
-
Field Summary
Fields Modifier and Type Field Description static MultiPoint
EMPTY
-
Constructor Summary
Constructors Constructor Description MultiPoint(java.util.List<Point> points)
-
Method Summary
Modifier and Type Method Description ShapeType
type()
<T,E extends java.lang.Exception>
Tvisit(GeometryVisitor<T,E> visitor)
-
Methods inherited from class org.elasticsearch.geo.geometry.GeometryCollection
equals, get, hasAlt, hashCode, isEmpty, iterator, size, toString
-
-
-
-
Field Detail
-
EMPTY
public static final MultiPoint EMPTY
-
-
Constructor Detail
-
MultiPoint
public MultiPoint(java.util.List<Point> points)
-
-
Method Detail
-
type
public ShapeType type()
- Specified by:
type
in interfaceGeometry
- Overrides:
type
in classGeometryCollection<Point>
-
visit
public <T,E extends java.lang.Exception> T visit(GeometryVisitor<T,E> visitor) throws E extends java.lang.Exception
- Specified by:
visit
in interfaceGeometry
- Overrides:
visit
in classGeometryCollection<Point>
- Throws:
E extends java.lang.Exception
-
-