Interface Geometry

All Superinterfaces:
GeoJson
All Known Subinterfaces:
GeometryItem
All Known Implementing Classes:
GeometryCollection, LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon

public interface Geometry extends GeoJson
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    checkBbox(scala.Option<scala.collection.immutable.Seq<Object>> bbox)
    Checks if the bounding box is valid.
    void
    checkCoordinate(scala.collection.immutable.Seq<Object> coord)
    Checks if the coordinate is valid.
     
     

    Methods inherited from interface com.here.platform.data.client.model.geojson.GeoJson

    toJson, toPrettyJson
  • Method Details

    • checkBbox

      void checkBbox(scala.Option<scala.collection.immutable.Seq<Object>> bbox)
      Checks if the bounding box is valid.

      Parameters:
      bbox - the bounding box geometry; for meaning of bbox coordinates see https://developer.here.com/documentation/data-client-library/dev_guide/client/publish-data.html#interactive-layer-coords
    • checkCoordinate

      void checkCoordinate(scala.collection.immutable.Seq<Object> coord)
      Checks if the coordinate is valid.

      Parameters:
      coord - the coordinate which has parameters x, y, and optionally z
    • getBbox

      List<Double> getBbox()
      Returns:
      the bounding box of the geometry
    • getType

      String getType()
      Returns:
      the type of geometry