Interface Isoline.Builder

    • Method Detail

      • connections

        Isoline.Builder connections​(Collection<IsolineConnection> connections)

        Isolines may contain multiple components, if these components are connected by ferry links. These components are returned as separate polygons while the ferry links are returned as connections.

        Parameters:
        connections - Isolines may contain multiple components, if these components are connected by ferry links. These components are returned as separate polygons while the ferry links are returned as connections.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connections

        Isoline.Builder connections​(IsolineConnection... connections)

        Isolines may contain multiple components, if these components are connected by ferry links. These components are returned as separate polygons while the ferry links are returned as connections.

        Parameters:
        connections - Isolines may contain multiple components, if these components are connected by ferry links. These components are returned as separate polygons while the ferry links are returned as connections.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • connections

        Isoline.Builder connections​(Consumer<IsolineConnection.Builder>... connections)

        Isolines may contain multiple components, if these components are connected by ferry links. These components are returned as separate polygons while the ferry links are returned as connections.

        This is a convenience method that creates an instance of the IsolineConnection.Builder avoiding the need to create one manually via IsolineConnection.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #connections(List).

        Parameters:
        connections - a consumer that will call methods on IsolineConnection.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #connections(java.util.Collection)
      • distanceThreshold

        Isoline.Builder distanceThreshold​(Long distanceThreshold)

        Distance threshold corresponding to the calculated Isoline.

        Parameters:
        distanceThreshold - Distance threshold corresponding to the calculated Isoline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • geometries

        Isoline.Builder geometries​(Collection<IsolineShapeGeometry> geometries)

        Geometries for the Calculated isolines.

        Parameters:
        geometries - Geometries for the Calculated isolines.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • geometries

        Isoline.Builder geometries​(IsolineShapeGeometry... geometries)

        Geometries for the Calculated isolines.

        Parameters:
        geometries - Geometries for the Calculated isolines.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • timeThreshold

        Isoline.Builder timeThreshold​(Long timeThreshold)

        Time threshold corresponding to the calculated isoline.

        Parameters:
        timeThreshold - Time threshold corresponding to the calculated isoline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.