# HG changeset patch # User Nicolas Saunier # Date 1257379988 18000 # Node ID 597d61c1eebe73634357cd062699dede9cf2c7c0 # Parent 824c35230b73039476354592d7327d3a6f92c1eb minor doc update diff -r 824c35230b73 -r 597d61c1eebe python/moving.py --- a/python/moving.py Mon Oct 26 00:27:55 2009 -0400 +++ b/python/moving.py Wed Nov 04 19:13:08 2009 -0500 @@ -56,7 +56,9 @@ class STObject: '''Class for spatio-temporal object i.e. with temporal and spatial existence - (time interval and bounding polygon for positions (e.g. rectangle)''' + (time interval and bounding polygon for positions (e.g. rectangle)). + It does not mean that the object is defined + for all time instants within the time interval''' def __init__(self, timeInterval = TimeInterval(), boundingPolygon = None, num = None): self.timeInterval = timeInterval @@ -76,12 +78,17 @@ # return bounding box, and generic polygon, that defaults to box -class Track(STObject): +class Trajectory(STObject): '''Class for trajectories - i.e. sequence of positions''' + i.e. a temporal sequence of positions''' pass +class TemporalIndicator: + '''Class for temporal indicators + i.e. indicators that take a value at specific instants''' + pass + if __name__ == "__main__": import doctest