atan2
Contents: Description, Arguments, Usage, Examples, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: Yes
Description Computes the trigonometric arc-tangent given the delta y and delta x values. This function also deals with data from 0 to 2pi and will not fail when the arc-tangent function becomes undefined. Consequently atan only deals with data from -pi/2 to pi/2 and fails when the arc-tangent function becomes undefined.
Arguments and Return Values Parameters: A variable containing the change in y and another containing the change in x of any numeric data type or organization. Return Value: An array of type double and organization of the inputs containing the arctan of the inputs.
Usage Syntax: atan2(object = deltay, object = deltax)
Examples dv> deltay 4x1x1 array of int, bsq format [16 bytes] 1 2 3 4 dv> deltax 4x1x1 array of int, bsq format [16 bytes] 6 7 8 9 dv> atan2(deltay,deltax) 4x1x1 array of double, bsq format [32 bytes] 0.165149 0.278300 0.358771 0.418224 |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Core Changes Modified On: 07-06-2009 |