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

Returns True if the distance between P1 and P2 is less than Dist.

Syntax
Pascal
class function Near(const P1: TAgkPoint; const P2: TAgkPoint; const Dist: Single): Boolean; overload;
Parameters 
Description 
const P1: TAgkPoint 
the first point. 
const P2: TAgkPoint 
the second point. 
const Dist: Single 
the maximum distance between both points. 

True if the distance between P1 and P2 is less than Dist.

Copyright (c) 2012. All rights reserved.