Interface RouteMatrixBoundaryGeometry.Builder

    • Method Detail

      • autoCircle

        RouteMatrixBoundaryGeometry.Builder autoCircle​(RouteMatrixAutoCircle autoCircle)

        Provides the circle that was used while calculating the route.

        Parameters:
        autoCircle - Provides the circle that was used while calculating the route.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • circle

        RouteMatrixBoundaryGeometry.Builder circle​(Circle circle)

        Geometry defined as a circle. When request routing boundary was set as AutoCircle, the response routing boundary will return Circle derived from the AutoCircle settings.

        Parameters:
        circle - Geometry defined as a circle. When request routing boundary was set as AutoCircle, the response routing boundary will return Circle derived from the AutoCircle settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • boundingBox

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

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

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

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