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

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

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

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

Copyright (c) 2012. All rights reserved.