gucoordinates
Public Attributes | List of all members
gu_cartesian_coordinate Struct Reference

A cartesian_coordinate is a general coordinate for representing positions on a tow dimensional plane. More...

#include <cartesian_coordinate.h>

Inheritance diagram for gu_cartesian_coordinate:
Inheritance graph
Collaboration diagram for gu_cartesian_coordinate:
Collaboration graph

Public Attributes

millimetres_t x
 The x coordinate of the position in centimetres. More...
 
millimetres_t y
 The y coordinate of the position in centimetres. More...
 

Detailed Description

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.

Definition at line 84 of file cartesian_coordinate.h.

Member Data Documentation

◆ x

millimetres_t gu_cartesian_coordinate::x

◆ y

millimetres_t gu_cartesian_coordinate::y

The documentation for this struct was generated from the following file: