Module seaModels :: Class Waves
[hide private]
[frames] | no frames]

Class Waves

source code


This is a base class for wave models. Currently, we assume that waves just have a direction vector in each location. We ignore the wave height, and the fact that is has some period, and averaging everything out, to assume a direction vector in each (x,y) point.

Instance Methods [hide private]
 
__init__(self) source code
 
getSpeedVectorInLocation(self, x, y)
Given a location, returns the avg speed vector, for this location
source code