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

Class StaticConstantWaterCurrents

source code


This class implements a water-current that is constant in every point, and never changes.

Instance Methods [hide private]
 
__init__(self, directionX, directionY)
parameters define the constant water-current direction vector
source code
 
__str__(self) source code
 
getSpeedVectorInLocation(self, x, y)
Given a location, returns the wind vector in it
source code
Method Details [hide private]

__init__(self, directionX, directionY)
(Constructor)

source code 

parameters define the constant water-current direction vector

Overrides: WaterCurrents.__init__

getSpeedVectorInLocation(self, x, y)

source code 

Given a location, returns the wind vector in it

Overrides: WaterCurrents.getSpeedVectorInLocation