Download Triton - Sundog Software
Transcript
166 Class Documentation SWAP model, the size of the fetch specified will be used to determine the fetch length. It’s important that this is realistic; fetch lengths on the order of 100km will produce the results you probably expect - so the distance from the observer to the center of the ellipsoid defined by this method should be on that order. The center represents the ’origin’ of the wind, and the wind will only affect observers within the ellipsoid defined by the radii given. See also ClearLocalization() SetFetchLength() Parameters center The center of the ellipsoid that models the bounds of the wind fetch. radii The radii in X, Y, and Z of the ellipsoid, in world units. 22.21.3.6 void TRITONAPI Triton::WindFetch::SetWind ( double speed, double direction ) Sets the wind speed and direction of this wind fetch. Parameters speed The wind speed in world units per second. direction The wind direction, in radians clockwise from North. Note this is the direction the wind is coming from - the waves will move in the opposite direction. The documentation for this class was generated from the following file: • C:/triton/trunk/Public Headers/WindFetch.h Generated on Tue Jan 27 2015 10:10:01 for Triton by Doxygen