view python/base.py @ 781:7c38250ddfc7 dev

updated to deal with prepared polygons from shapely, and to extract the same positions from a second trajectory in a polygon (for velocities for example)
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Thu, 11 Feb 2016 11:56:50 -0500
parents 15e244d2a1b5
children
line wrap: on
line source

'''Module for few base classes to avoid issues of circular import'''

class VideoFilenameAddable(object):
    'Base class with the capability to attach a video filename'

    def setVideoFilename(self, videoFilename):
        self.videoFilename = videoFilename