Sign in Join
FPDoc Onlineexperiment

EccentricAngle function

In unit GraphMath

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

Declaration

pascal
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.

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.