Next: , Previous: , Up: API Reference   [Contents][Index]


3.9 Angles

Grip procedures and variables to process angles. The module is loaded by entering the following:

(use-modules (grip angle))

Procedures

radian->degree
degree->radian

Variables

%pi
%2pi
%pi/2

Procedures

Procedure: radian->degree rad
Procedure: degree-radian deg

Returns a number.

Converts the radian or degree quantity given by rad or deg into degrees or radians respectively.

Variables

Variable: %pi
Variable: %2pi
Variable: %pi/2

Respectively defined as (acos -1), (* 2 %pi) and (/ %pi 2).