#include <guunits/guunits.h>
#include <stdbool.h>
Go to the source code of this file.
◆ gu_cartesian_coordinate
A cartesian_coordinate is a general coordinate for representing positions on a tow dimensional plane.
This coordinate describes the position through the x and y axes. The gu_cartesian_coordinate is generally used for the coordinate system of the soccer field. This describes the world (or more specifically the field) in terms of the location of each side of the soccer field. The home side is in the west, whereas the away side is in the east. Because of this,it may not be a good idea to repurpose this coordinate for use in other applications since the x and y coordinates of this coordinate must be in centimetres.
When describing objects that face in certain directions it is important to disregard this coordinate and instead use gu_field_coordinate.
◆ gu_cartesian_coordinate_equals()
| bool gu_cartesian_coordinate_equals |
( |
const |
gu_cartesian_coordinate, |
|
|
const |
gu_cartesian_coordinate |
|
) |
| const |