#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
Go to the source code of this file.
Classes | |
struct | pos_t |
Macros | |
#define | DEG_SCALER 3.0 |
#define | POS_SCALER 3.0 |
#define | USAGE |
#define | X_BASE_OFFSET 15.0 |
#define | Y_BASE_OFFSET 15.0 |
Functions | |
pos_t * | build_pos_list (void) |
int | main (int argc, char **argv) |
pos_t * | make_grid (void) |
pos_t * | make_random (void) |
pos_t * | make_wave (void) |
void | parse_args (int argc, char **argv) |
Variables | |
int | base_index = 0 |
int | base_port = 6660 |
int | num_nodes = 25 |
char | pnm_filename [32] = "simple.pnm" |
pos_t * | pos_list |
float | res = 0.15 |
float | scale = 0.09 |
char | shape_name [32] = "random" |
FILE * | world_file |
char | world_filename [32] = "gts.world" |
#define DEG_SCALER 3.0 |
Definition at line 123 of file make_rsn.c.
#define POS_SCALER 3.0 |
Definition at line 122 of file make_rsn.c.
#define USAGE |
Definition at line 8 of file make_rsn.c.
#define X_BASE_OFFSET 15.0 |
Definition at line 120 of file make_rsn.c.
#define Y_BASE_OFFSET 15.0 |
Definition at line 121 of file make_rsn.c.
pos_t* build_pos_list | ( | void | ) |
Definition at line 181 of file make_rsn.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 194 of file make_rsn.c.
pos_t* make_grid | ( | void | ) |
Definition at line 163 of file make_rsn.c.
pos_t* make_random | ( | void | ) |
Definition at line 143 of file make_rsn.c.
pos_t* make_wave | ( | void | ) |
Definition at line 125 of file make_rsn.c.
void parse_args | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 36 of file make_rsn.c.
int base_index = 0 |
Definition at line 24 of file make_rsn.c.
int base_port = 6660 |
Definition at line 25 of file make_rsn.c.
int num_nodes = 25 |
Definition at line 23 of file make_rsn.c.
char pnm_filename[32] = "simple.pnm" |
Definition at line 30 of file make_rsn.c.
pos_t* pos_list |
Definition at line 21 of file make_rsn.c.
float res = 0.15 |
Definition at line 27 of file make_rsn.c.
float scale = 0.09 |
Definition at line 26 of file make_rsn.c.
char shape_name[32] = "random" |
Definition at line 28 of file make_rsn.c.
FILE* world_file |
Definition at line 32 of file make_rsn.c.
char world_filename[32] = "gts.world" |
Definition at line 29 of file make_rsn.c.