package bimage

  1. Overview
  2. Docs

Module Bimage.AngleSource

The Angle type is used instead of a float whenever a function expects an angle argument to avoid ambiguity

Sourcetype t
Sourceval of_degrees : float -> t

of_degrees deg creates new angle from deg degrees

Sourceval to_degrees : t -> float

to_degrees angle returns the value of the angle in degrees

Sourceval of_radians : float -> t

of_radians rad creates a new angle from rad radians

Sourceval to_radians : t -> float

to_radians angle returns the value of the angle in radians

OCaml

Innovation. Community. Security.