Class MultiPoint


  • public final class MultiPoint
    extends Geometry
    A representation of a GeoJSON MultiPoint.
    Since:
    3.1
    • Constructor Detail

      • MultiPoint

        public MultiPoint​(<Position> coordinates)
        Construct an instance with the given coordinates.
        Parameters:
        coordinates - the coordinates
      • MultiPoint

        public MultiPoint​(@Nullable
                          CoordinateReferenceSystem coordinateReferenceSystem,
                          <Position> coordinates)
        Construct an instance with the given coordinates and coordinate reference system.
        Parameters:
        coordinateReferenceSystem - the coordinate reference system
        coordinates - the coordinates
    • Method Detail

      • getCoordinates

        public <Position> getCoordinates()
        Gets the GeoJSON coordinates of this MultiPoint.
        Returns:
        the coordinates
      • equals

        public boolean equals​( o)
        Overrides:
        equals in class Geometry
      • toString

        public  toString()
        Overrides:
         in class