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

Calculates the squared length of a vector. Faster than Length when you only need to compare lengths.

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

The squared length of the vector.

Copyright (c) 2012. All rights reserved.