Interface RouteAvoidanceAreaGeometry.Builder

    • Method Detail

      • corridor

        RouteAvoidanceAreaGeometry.Builder corridor​(Corridor corridor)

        Geometry defined as a corridor - a LineString with a radius that defines the width of the corridor.

        Parameters:
        corridor - Geometry defined as a corridor - a LineString with a radius that defines the width of the corridor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • boundingBox

        RouteAvoidanceAreaGeometry.Builder boundingBox​(Collection<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.
      • boundingBox

        RouteAvoidanceAreaGeometry.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

        RouteAvoidanceAreaGeometry.Builder polygon​(Collection<? extends Collection<? extends Collection<Double>>> 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

        RouteAvoidanceAreaGeometry.Builder polygon​(Collection<? extends Collection<Double>>... 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.
      • polylineCorridor

        RouteAvoidanceAreaGeometry.Builder polylineCorridor​(PolylineCorridor polylineCorridor)

        Geometry defined as an encoded corridor - an encoded polyline with a radius that defines the width of the corridor.

        Parameters:
        polylineCorridor - Geometry defined as an encoded corridor - an encoded polyline with a radius that defines the width of the corridor.
        Returns:
        Returns a reference to this object so that method calls can be chained together.