Package sabx10 :: Package profiles :: Module profiles :: Class Annotation
[hide private]
[frames] | no frames]

Class Annotation

source code

object --+
         |
        Annotation

Hold all information necessary for a profile annotation.

Instance Methods [hide private]
 
__init__(self, text, dist, ele)
Save the passed-in values.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
float dist
distance into ride of annotation (X value)
float ele
elevation of annotation (Y value)
string text
text of annotation
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, text, dist, ele)
(Constructor)

source code 

Save the passed-in values.

Parameters:
  • text (string) - text of annotation
  • dist (float) - distance into ride of annotation (X value)
  • ele (float) - elevation of annotation (Y value)
Overrides: object.__init__