Contents  All Classes  Index A-Z  All Units


PointAtDistance function

function PointAtDistance(AFrom, ATo: TPoint; ADist: Integer): TPoint;

Unit
TeCanvas

Description
Given a line containing AFrom and ATo points, this function calculates a new point in the line that has the specified ADist distance from ATo point.




Submit your feedback about this page.

Copyright 1995-2007 © by Steema Software. All Rights Reserved.