Module lyon_core::math_utils [] [src]

Various math tools that are usefull for several modules.

Functions

angle_between
directed_angle

Angle between vectors v1 and v2 (oriented clockwise assyming y points downwards). The result is a number between 0 and 2*PI.

directed_angle2
ellipse_center_to_point
ellipse_point_from_angle
fuzzy_eq
fuzzy_eq_f32
is_below

Defines an ordering between two points

is_below_int

Defines an ordering between two points

line_horizontal_intersection
line_horizontal_intersection_int
line_intersection
segment_intersection
tangent