Interface RouteMatrixAvoidanceAreaGeometry.Builder

  • Method Details

    • boundingBox

      Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.

      Parameters:
      boundingBox - Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • boundingBox

      RouteMatrixAvoidanceAreaGeometry.Builder boundingBox(Double... boundingBox)

      Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.

      Parameters:
      boundingBox - Geometry defined as a bounding box. The first pair represents the X and Y coordinates (longitude and latitude,) of the southwest corner of the bounding box; the second pair represents the X and Y coordinates (longitude and latitude) of the northeast corner.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • polygon

      Geometry defined as a polygon with only one linear ring.

      Parameters:
      polygon - Geometry defined as a polygon with only one linear ring.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • polygon

      Geometry defined as a polygon with only one linear ring.

      Parameters:
      polygon - Geometry defined as a polygon with only one linear ring.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • polylinePolygon

      RouteMatrixAvoidanceAreaGeometry.Builder polylinePolygon(Collection<String> polylinePolygon)

      A list of Isoline PolylinePolygon, for each isoline PolylinePolygon, it contains PolylinePolygon of the first linear ring (the outer ring) and from second item to the last item (the inner rings). For more information on polyline encoding, see https://github .com/heremaps/flexiblepolyline/blob/master/README.md.

      Parameters:
      polylinePolygon - A list of Isoline PolylinePolygon, for each isoline PolylinePolygon, it contains PolylinePolygon of the first linear ring (the outer ring) and from second item to the last item (the inner rings). For more information on polyline encoding, see https://github.com/heremaps/flexiblepolyline/blob/master/README.md.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • polylinePolygon

      RouteMatrixAvoidanceAreaGeometry.Builder polylinePolygon(String... polylinePolygon)

      A list of Isoline PolylinePolygon, for each isoline PolylinePolygon, it contains PolylinePolygon of the first linear ring (the outer ring) and from second item to the last item (the inner rings). For more information on polyline encoding, see https://github .com/heremaps/flexiblepolyline/blob/master/README.md.

      Parameters:
      polylinePolygon - A list of Isoline PolylinePolygon, for each isoline PolylinePolygon, it contains PolylinePolygon of the first linear ring (the outer ring) and from second item to the last item (the inner rings). For more information on polyline encoding, see https://github.com/heremaps/flexiblepolyline/blob/master/README.md.
      Returns:
      Returns a reference to this object so that method calls can be chained together.