Module geometry

Source

Structs§

FPCoordinate
A fixed-point coordinate representation for geographical locations.
IPoint2D
A 2D point with integer coordinates, primarily used for TSP problems where distances need to be rounded to the nearest integer.
Point2D
Segment

Functions§

cross_product
distance
distance_to_segment_2d
is_clock_wise_turn