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

EccentricAngle

EccentricAngle - get the Eccentric Angle of a given point on any non-rotated ellipse.

Declaration

Source position: graphmath.pp line 73

function EccentricAngle(

  const PT: TPoint;

  const Rect: TRect

):Extended;

Description

Use EccentricAngle to get the Eccentric( aka Radial ) Angle of a given point on any non-rotated ellipse. It is primarily for use in Coords2Angles. The result 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