Class BoundingBox.Builder

java.lang.Object
com.here.platform.data.client.model.geojson.BoundingBox.Builder
Enclosing class:
BoundingBox

public static final class BoundingBox.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
    • Builder

      public Builder(Double westLongitude, Double southLatitude, Double eastLongitude, Double northLatitude)
      Parameters:
      westLongitude - The west longitude of the bounding box
      southLatitude - The south latitude of the bounding box
      eastLongitude - The east longitude of the bounding box
      northLatitude - The north latitude of the bounding box
  • Method Details

    • build

      public BoundingBox build()
      Builds the BoundingBox
      Returns:
      the BoundingBox
    • withEastLongitude

      public BoundingBox.Builder withEastLongitude(Double eastLongitude)
      Parameters:
      eastLongitude - The east longitude of the bounding box
    • withNorthLatitude

      public BoundingBox.Builder withNorthLatitude(Double northLatitude)
      Parameters:
      northLatitude - The north latitude of the bounding box
    • withSouthLatitude

      public BoundingBox.Builder withSouthLatitude(Double southLatitude)
      Parameters:
      southLatitude - The south latitude of the bounding box
    • withWestLongitude

      public BoundingBox.Builder withWestLongitude(Double westLongitude)
      Parameters:
      westLongitude - The west longitude of the bounding box