Geda3.Angle
Description:
Functions for operating on angles
Content:
Functions:
- public int calc_sweep (int a0, int a1)
Calculate the sweep between two angles
- public int from_radians (double radians)
Convert radians to degrees
- public bool is_normal (int angle)
Checks if an angle is [0,360)
- public bool is_ortho (int angle)
Checks if an angle is orthographic
- public int make_ortho (int angle)
Make an angle orthographic
- public int normalize (int angle)
Normalize an angle to [0,360)
- public int parse (string input) throws ParseError
Parse the string representation of an angle
- public double to_radians (int angle)
Convert degrees to radians