Module utils

Source

Structs§

CircleParams
TangentialArcInfoInput
Structure to hold input data for calculating tangential arc information.
TangentialArcInfoOutput
Structure to hold the output data from calculating tangential arc information.

Functions§

arc_angles
arc_center_and_end
between
Get the angle between these points
calculate_circle_center
calculate_circle_from_3_points
calculate_intersection_of_two_lines
delta
Gives the ▲-angle between from and to angles (shortest path)
distance
Get the distance between two points.
get_tangent_point_from_previous_arc
get_tangential_arc_to_info
get_x_component
get_y_component
intersect
intersection_with_parallel_line
is_on_circumference
is_points_ccw
is_points_ccw_wasm
normalize
Normalize the angle
normalize_rad

Type Aliases§

Coords2d