gucoordinates
Classes | Typedefs | Functions
relative_coordinate.h File Reference
#include <guunits/guunits.h>
#include <stdbool.h>
Include dependency graph for relative_coordinate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gu_relative_coordinate
 A coordinate that is relative to some other coordinate. More...
 

Typedefs

typedef struct gu_relative_coordinate gu_relative_coordinate
 A coordinate that is relative to some other coordinate. More...
 

Functions

bool gu_relative_coordinate_equals (const gu_relative_coordinate, const gu_relative_coordinate, const double) __attribute__((const))
 

Typedef Documentation

◆ gu_relative_coordinate

A coordinate that is relative to some other coordinate.

This coordinate describes the distance and direction that one coordinate is from another. This means that the relative_coordinate is a polar coordinate in the form of phi, r where phi is the direction and r is the distance to the coordinate.

Function Documentation

◆ gu_relative_coordinate_equals()

bool gu_relative_coordinate_equals ( const  gu_relative_coordinate,
const  gu_relative_coordinate,
const double   
) const