Home | Trees | Indices | Help |
---|
|
object --+ | PointsProcessor
Encapsulates a set of points representing a line and all the operations we might want to do on it.
|
|||
|
|||
float
|
|
||
(float ,float )
|
|
||
(float ,float )
|
|
||
list of (float ,float )
|
|
||
Inherited from |
|
|||
list of (float ,float )
|
intras intra-point values used for all our calculations, in the form of a list of (length,rise) tuples |
|
|||
Inherited from |
|
Calculate and store the distance and rise between each pair of points in the list. This list will be used by all the other methods on this object.
|
Calculate the length of the line. This is the distance along the set of waypoints.
|
Calculate the cumulative rise for the line. This is the rise height for every intra-point value that rises.
|
Calculate the cumulative fall for the line. This is the rise height for every intra-point value that falls.
|
Create a list of climbs in the line. Ignore single-point declines during a climb, since this seems to give more realistic climbs than if single "bumps" cause climbs to restart.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat May 1 23:03:30 2010 | http://epydoc.sourceforge.net |