AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkPoint.Distance Method (TAgkPoint, TAgkPoint)

Calculates the distance between P1 and P2.

Syntax
Pascal
class function Distance(const P1: TAgkPoint; const P2: TAgkPoint): Single; overload;
Parameters 
Description 
const P1: TAgkPoint 
the first point. 
const P2: TAgkPoint 
the second point. 

The distance between P1 and P2.

Copyright (c) 2012. All rights reserved.