Angle16Deg/fr
English · Français
L'unité angle16deg est 1/16ème de degré. Par exemple, un cercle fait 5760 (= 16*360).
Fonction Angle16DegToRad
Convert Angle16Deg to radian
function Angle16DegToRad(const a_angle16deg:integer):double;
begin
result := a_angle16deg * Pi / ( 180 * 16 );
end;Fonction RadtoAngle16Deg
Convert radian to Angle16Deg
function RadtoAngle16Deg(const a_radian:double):integer;
begin
result := round ( a_radian * 180 * 16 / Pi );
end;Voir aussi
From the Free Pascal wiki, page "Angle16Deg/fr", as it stood on 2020-02-09 after a change by GAN, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.