Calculates the squared distance between P1 and P2. Faster than Distance when you only need to compare distances.
|
Parameters |
Description |
|
const P1: TAgkPoint |
the first point. |
|
const P2: TAgkPoint |
the second point. |
The squared distance between P1 and P2.
|
Copyright (c) 2012. All rights reserved.
|