java.lang.Object
com.here.platform.data.client.model.geojson.LineString
All Implemented Interfaces:
GeoJson, Geometry, GeometryItem, Serializable, scala.Equals, scala.Product

public final class LineString extends Object implements GeometryItem, scala.Product, Serializable
See Also:
  • Constructor Details

    • LineString

      public LineString(String type, scala.Option<scala.collection.immutable.Seq<Object>> bbox, scala.Option<scala.collection.immutable.Seq<scala.collection.immutable.Seq<Object>>> coordinates)
  • Method Details

    • type

      public String type()
    • bbox

      public scala.Option<scala.collection.immutable.Seq<Object>> bbox()
    • coordinates

      public scala.Option<scala.collection.immutable.Seq<scala.collection.immutable.Seq<Object>>> coordinates()
    • getType

      public String getType()
      Specified by:
      getType in interface Geometry
      Specified by:
      getType in interface GeometryItem
      Returns:
      the type of geometry
    • getBbox

      public List<Double> getBbox()
      Specified by:
      getBbox in interface Geometry
      Specified by:
      getBbox in interface GeometryItem
      Returns:
      the bounding box of the LineString geometry
    • getCoordinates

      public List<List<Double>> getCoordinates()
      Specified by:
      getCoordinates in interface GeometryItem
      Returns:
      the coordinates of the LineString geometry