**Authors:** Thomas Lorentsen, Sten Gruener.

`degree() = float()`

`degree_results() = {degrees(), Results::list()}`

`degrees() = list()`

`radian() = float()`

`radian_results() = {radians(), Results::list()}`

`radians() = list()`

deg2rad/1 | convert degrees to radians. |

rad2deg/1 | convert radians to degrees. |

results_to_triangle/3 | Converts each result into a triangle {X, Y, H}. |

solve_ah/2 | Solves triangle sides from angle and hypotenuse. |

`deg2rad(L::degree() | degrees() | degree_results()) -> radian() | radians() | radian_results()`

convert degrees to radians. If a list of degrees is given than a list of radians is returned.

`rad2deg(L::radian() | radians() | radian_results()) -> degree() | degrees() | degree_results()`

convert radians to degrees. If a list of radians is given than a list of degrees is returned.

`results_to_triangle(Results::list(), Degrees, Inc) -> Triangles::list()`

Converts each result into a triangle {X, Y, H}. Results: list of laser results Degrees: Starting degrees Inc: Incriment by this amount of degrees This allows you to find the relative position of a object using the lasers

`solve_ah(Angle::float(), Hypotenuse::float()) -> {Sine::float(), Cosine::float(), Hypotenuse::float()}`

Solves triangle sides from angle and hypotenuse. This allows to calculate where a wall is on a map

*Generated by EDoc, Aug 13 2009, 23:20:23.*