GSTPy.NetworkInterface.get_bbox_of_link — GSTPy documentation

# GSTPy.NetworkInterface.get_bbox_of_link

`NetworkInterface.``get_bbox_of_link`((NetworkInterface)self[, (LinkAdjacency)link=None[, (SRS)srs=None]]) → Box :

  Get the bounding box for a MoMa link. Returns the bounding box of all features referenced by the link in the SRS supplied with srs.

  Parameters

    - link (LinkAdjacency) –

      The link.

      Defaults to None, i.e. everything.

    - srs (SRS) –

      The srs.

      Defaults to None. Same as EmptySRSDef.

      - If EmptySRSDef: uses the SRS of the first feature found with the link and applies it to the rest.

      - Else: applies srs to all referenced features.

  Returns

    The bounding box.

  Return type

    Box