double ArcTan2(const double Y, const double X);
Inverse tangens of Y/X.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Y | const double | |
| 2 | X | const double |
Returns: Returns the inverse tangens of Y/X, and returns an angle in the correct quadrant.
Remarks:
The return value will fall in the closed interval [-PI,PI] radians.
Note
Math387::ArcTan is calculated as ArcTan2(1, X).
See Also: Math387::ArcTan, Math387::Tan
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler