AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgk.ATanFullRad Method (Single, Single)

Returns the angle in radians between x=0 y=-1 (up) and the given vector in a clockwise direction. Returns a value from 0 to 2*Pi.

Syntax
Pascal
class function ATanFullRad(const X: Single; const Y: Single): Single; overload; static;
Parameters 
Description 
const X: Single 
The X component of the vector to check. 
const Y: Single 
The Y component of the vector to check. 

The angle in radians.

Copyright (c) 2012. All rights reserved.