Gem-graph 0.1.0
A modelling tool based on rewriting of geometric graphs.
Loading...
Searching...
No Matches
Classes | Macros | Enumerations
base.h File Reference

base header More...

#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <stdbool.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <time.h>
#include <string.h>
#include <glib-2.0/glib.h>
#include <gtk-4.0/gtk/gtk.h>

Classes

struct  arrow_t
 defines an arrow address More...
 

Macros

#define EAST   0
 If I'm standing on Earth (or any spinning spheroid), looking towards its North pole.
 
#define WEST   1
 
#define ZENITH   2
 
#define NADIR   3
 
#define SOUTH   4
 
#define NORTH   5
 

Enumerations

enum  { X_AXIS , Y_AXIS , Z_AXIS , N_AXIS }
 used by graphics.h
 

Detailed Description

base header

This file is part of Gem-graph.

Macro Definition Documentation

◆ EAST

#define EAST   0

If I'm standing on Earth (or any spinning spheroid), looking towards its North pole.

Then :

X - X = EAST - WEST = red - cyan Y - Y = ZENITH - NADIR = green - magenta (fuschia) Z - Z = NORTH - SOUTH = blue - yellow

  • x red

◆ NADIR

#define NADIR   3
  • y magenta

◆ NORTH

#define NORTH   5
  • z yellow

◆ SOUTH

#define SOUTH   4
  • z blue

◆ WEST

#define WEST   1
  • x cyan

◆ ZENITH

#define ZENITH   2
  • y green