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

Class StaticConstantWaves

source code


This class implements waves that are constant in every point, and never change.

Instance Methods [hide private]
 
__init__(self, directionX, directionY)
Parameters define the constant wave speed vector
source code
 
__str__(self) source code
 
getSpeedVectorInLocation(self, x, y)
Given a location, returns the wave vector in it
source code
Method Details [hide private]

__init__(self, directionX, directionY)
(Constructor)

source code 

Parameters define the constant wave speed vector

Overrides: Waves.__init__

getSpeedVectorInLocation(self, x, y)

source code 

Given a location, returns the wave vector in it

Overrides: Waves.getSpeedVectorInLocation