Sign in Join
FPDoc Onlineexperiment

LineEndPoint function

In unit GraphMath

LineEndPoint - get the End-Point of a line of any given Length at any given angle with any given Start-Point.

Declaration

pascal
function LineEndPoint(const StartPoint: TPoint; Angle: Extended; 
 &Length: Extended): TPoint

Description

Use LineEndPoint to get the End-Point of a line of any given Length at any given angle with any given Start-Point. It is primarily for use in other routines such as RadialPoint. The angle is in 1/16th of a degree. For example, a full circle equals 5760 (16*360). Zero degrees is at the 3 o'clock position.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.