formZ SDK | 5.0 API Reference | System | Math

# FZ_MATH_ATAN2

Description

Computes the arc tangent of y / x. Allows x to be 0 (i.e. 90 or - 90 degrees).

Plugin Prototype

#define FZ_MATH_ATAN2( _x, _y)

Parameters

double _x [Input]

y value end point of line.

double _y [Input]

x value end point of line.

Returns

arc tangent (i.e. the angle of the line starting at (0.0, 0.0) and ending at (_x, _y))

Return Type: double

Availability

5.0.0.0

Defined in

fz_math_api.h