| GetAngle | R Documentation |
As seen from a point in the wind farm, computes the angle to another point in that farm.
GetAngle(x1, y1, x2, y2)
x1 |
must be a single value. Provide the |
y1 |
must be a single value. Provide the |
x2 |
must be a single value. Provide the |
y2 |
must be a single value. Provide the |
From point 2's point of view, computes the angle to point 1.
GetAngle returns a single number between 0 and 360. If both points are identical, the return value is 0.
Note that this function returns an angle in arithmetic degrees notation. To convert to azimuth notation, use Geo2Ari.
Carsten Croonenbroeck
Use JensenAngle to compute the wake cone and with it, use JensenTrapezoid to see if another turbine B is in turbine A's wake.
GetAngle(0.2, 0.2, 0.1, 0.1) ## Looking from point (0.1, 0.1) at point (0.2, 0.2), the angle is 45° (arithmetic).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.