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

Calcualtes the squared distance between this vector and Other. Faster than Distance when you only need to compare distances.

Syntax
Pascal
function DistanceSq(const Other: TAgkPoint): Single; overload;
Parameters 
Description 
const Other: TAgkPoint 
the other point. 

The squared distance between this point and Other.

Copyright (c) 2012. All rights reserved.