AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkPoint.Near Method (TAgkPoint, Single)

Returns True if the distance between this point and another point is less than Dist.

Syntax
Pascal
function Near(const Other: TAgkPoint; const Dist: Single): Boolean; overload;
Parameters 
Description 
const Other: TAgkPoint 
the other point. 
const Dist: Single 
the maximum distance between both points. 

True if the distance between this point and Other is less than Dist.

Copyright (c) 2012. All rights reserved.