AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkPoint.ToAngleRad Method (TAgkPoint)

Calculates the angular direction V is pointing in (in radians).

Syntax
Pascal
class function ToAngleRad(const V: TAgkPoint): Single; overload;
Parameters 
Description 
const V: TAgkPoint 
the vector. 

The angular direction of V in radians (-Pi..Pi, going clockwise with 0 degrees at 12 o-clock).

Copyright (c) 2012. All rights reserved.