PointAtDistance
 
 
 

All Units  All Classes  Properties, Methods and Events  

PointAtDistance function

function PointAtDistance(Const 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.





Send us Help Feedback. Copyright 1995-2013 © by Steema Software. All Rights Reserved.