function GetAngle(const origin, pt: TPoint): double; overload;
function GetAngle(const origin, pt: TPointD): double; overload;
function GetAngle(const pt1, pt2, pt3: TPoint): double; overload;
function GetAngle(const pt1, pt2, pt3: TPointD): double; overload;
The result's range will be between -PI and +PI.
When there are two parameters (origin & pt):
When there are three parameters (pt1, pt2 & pt3), the result will again depend on ClockwiseRotationIsAnglePositive.
Copyright ©2010-2023 Angus Johnson - Image32 4.8 - Help file built on 17 Jan 2025