Sign in Join
Wiki copytemporary

Angle16Deg/fr: what changed

Revision 0 to 1. Removed lines have a minus sign; added lines have a plus sign.

Title: Angle16Deg/fr

OldNewLine
1+L'unité angle16deg est 1/16ème de degré. Par exemple, un cercle fait 5760 (= 16*360).
2+
3+## Fonction Angle16DegToRad
4+
5+Convert Angle16Deg to [[Radian/fr|radian]]
6+
7+``` pascal
8+
9+function Angle16DegToRad(const a_angle16deg:integer):double;
10+begin
11+ result := a_angle16deg * Pi / ( 180 * 16 );
12+end;
13+```
14+
15+## Fonction RadtoAngle16Deg
16+
17+Convert radian to Angle16Deg
18+
19+``` pascal
20+
21+function RadtoAngle16Deg(const a_radian:double):integer;
22+begin
23+ result := round ( a_radian * 180 * 16 / Pi );
24+end;
25+```
26+
27+## Voir aussi
28+
29+- [[doc:lcl/graphics/tcanvas.chord.html|Chord]]
30+
31+---
32+*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](/wiki-contact).*

Back to history