[Overview][Types][Procedures and functions][Index] Reference for unit 'GraphMath' (#lazutils)

LineEndPoint

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

Declaration

Source position: graphmath.pp line 80

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.


Version 4.0 Generated 2025-05-03 Home