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

Linearly interpolate between P1 towards P2 by distance D.

Syntax
Pascal
class function LinearInterpolateConst(const P1: TAgkPoint; const P2: TAgkPoint; const D: Single): TAgkPoint; overload;
Parameters 
Description 
const P1: TAgkPoint 
the first point. 
const P2: TAgkPoint 
the second point. 
const D: Single 
the distance to travel from P1 to P2. 

The point between P1 and P2 at distance D.

Copyright (c) 2012. All rights reserved.