pyProm
latest
  • 1. dataLoad
  • 2. domain
  • 3. feature_discovery
  • 4. lib
    • 4.1. Locations
      • 4.1.1. BaseCoordinate
      • 4.1.2. BaseGridPoint
      • 4.1.3. GridPoint
      • 4.1.4. Runoff
      • 4.1.5. Saddle
      • 4.1.6. SpotElevation
      • 4.1.7. Summit
      • 4.1.8. Vertex_Link
    • 4.2. Containers
    • 4.3. Logic
    • 4.4. Classes
pyProm
  • Docs »
  • 4. lib »
  • 4.1.8. Vertex_Link
  • Edit on GitHub

4.1.8. Vertex_Link¶

class pyprom.lib.locations.vertex_link.Vertex_Link(localPoint, remotePoint, distance, remote_container=None)[source]¶

Vertex_Link connects a vertex pyprom.lib.locations.gridpoint.GridPoint from one feature to a vertex from another. These are used in Internal Saddle Networks.

__init__(localPoint, remotePoint, distance, remote_container=None)[source]¶
Parameters
  • localPoint (pyprom.lib.locations.gridpoint.GridPoint) – relative (local) GridPoint (vertex)

  • remotePoint (pyprom.lib.locations.gridpoint.GridPoint) – relative (remote) GridPoint (vertex)

  • distance (int, float) – distance between points.

  • remote_container (pyprom.lib.containers.feature_verticies.Feature_Verticies) – Remote linked vertex container.

__repr__()[source]¶
Returns

String representation of this object

__str__()¶
Returns

String representation of this object

__unicode__()¶
Returns

String representation of this object

__weakref__¶

list of weak references to the object (if defined)

_remote_container_idx()[source]¶
Returns

index of remove_container

Return type

int, “None”

Next Previous

© Copyright 2019, Marc Howes Revision 695a99f0.