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

GSTPy

The GST API Python module

Navigation

  • Changelog
  • Notes
  • Installation / Setup
  • Reference
    • Version
    • NetworkInterface
    • Feature
    • SRS
    • Parsing
    • Segy
    • Property
    • Intersection
    • Owner
    • MoMa
    • Exceptions
  • Examples

Related Topics

  • Documentation overview
    • Reference
      • GSTPy.NetworkInterface
        • Previous: GSTPy.NetworkInterface.delete_link_adjacency
        • Next: GSTPy.NetworkInterface.list_feature_ids_of_link

Quick search

©2017,2019 GiGa infosystems. | Powered by Sphinx 1.8.5 & Alabaster 0.7.12