Public Member Functions | |
def | __init__ |
def | bottomBand |
def | collectors |
def | emitters |
def | isPositive |
def | isUsed |
def | topBand |
Properties | |
altitude = property(__get_altitude,__set_altitude) | |
edge = property(__get_edge) | |
rank = property(__get_rank,__set_rank) | |
Private Member Functions | |
def | __get_altitude |
def | __get_edge |
def | __get_rank |
def | __set_altitude |
def | __set_rank |
def | _release |
Private Attributes | |
_altitude | |
_edge | |
_isPositive | |
_rank | |
_topology |
Visual Representation of an Edge. An Edge can have up to two Bands - one with positive altitude and one negative. Visual Parameters Rank - the Z drawing order (higher values closer to user) Altitude - the distance above or below the Block ribbon
Definition at line 470 of file topology.py.
def diarc.diarc.topology.Band.__init__ | ( | self, | |
edge, | |||
isPositive | |||
) |
Definition at line 477 of file topology.py.
def diarc.diarc.topology.Band.__get_altitude | ( | self | ) | [private] |
Definition at line 623 of file topology.py.
def diarc.diarc.topology.Band.__get_edge | ( | self | ) | [private] |
Definition at line 604 of file topology.py.
def diarc.diarc.topology.Band.__get_rank | ( | self | ) | [private] |
Definition at line 606 of file topology.py.
def diarc.diarc.topology.Band.__set_altitude | ( | self, | |
value | |||
) | [private] |
Definition at line 625 of file topology.py.
def diarc.diarc.topology.Band.__set_rank | ( | self, | |
val | |||
) | [private] |
Definition at line 608 of file topology.py.
def diarc.diarc.topology.Band._release | ( | self | ) | [private] |
Release all dependent references this object holds
Definition at line 485 of file topology.py.
def diarc.diarc.topology.Band.bottomBand | ( | self | ) |
Returns the band with the next lowest altitude, or None if either there is no band below this one or the block ribbon is below it. Bands for which isUsed() is false are skipped over.
Definition at line 582 of file topology.py.
def diarc.diarc.topology.Band.collectors | ( | self | ) |
returns list of sink snaps that reach this band
Definition at line 515 of file topology.py.
def diarc.diarc.topology.Band.emitters | ( | self | ) |
returns a list of source snaps that reach this band
Definition at line 495 of file topology.py.
def diarc.diarc.topology.Band.isPositive | ( | self | ) |
Definition at line 554 of file topology.py.
def diarc.diarc.topology.Band.isUsed | ( | self | ) |
returns true if this band is needed to represent connections on its edge, else false. This is determined by checking if any sources reach this band.
Definition at line 532 of file topology.py.
def diarc.diarc.topology.Band.topBand | ( | self | ) |
Returns the band with the next highest altitude, or None if either there is no band above this one or the block ribbon is above it. Bands for which isUsed() is false are skipped over.
Definition at line 558 of file topology.py.
diarc::diarc::topology.Band::_altitude [private] |
Definition at line 477 of file topology.py.
diarc::diarc::topology.Band::_edge [private] |
Definition at line 477 of file topology.py.
diarc::diarc::topology.Band::_isPositive [private] |
Definition at line 477 of file topology.py.
diarc::diarc::topology.Band::_rank [private] |
Definition at line 477 of file topology.py.
diarc::diarc::topology.Band::_topology [private] |
Definition at line 477 of file topology.py.
diarc::diarc::topology.Band::altitude = property(__get_altitude,__set_altitude) [static] |
Definition at line 645 of file topology.py.
diarc::diarc::topology.Band::edge = property(__get_edge) [static] |
Definition at line 643 of file topology.py.
diarc::diarc::topology.Band::rank = property(__get_rank,__set_rank) [static] |
Definition at line 644 of file topology.py.