MobilityDB 1.1

◆ EXPAND

#define EXPAND   true

A simple program that generates a given number of tpoint instants, appends the instant into a sequence at each generation, and outputs the number of instants and the distance travelled at the end.

The instants are generated so they are not redundant, that is, all input instants will appear in the final sequence. A compiler option allows one to either use expandable structures or to create a new sequence at every new instant generated. Another compiler option allows one to either use geodetic or geometric points.

The program can be build as follows

gcc -Wall -g -I/usr/local/include -o meos_expand_tpoint meos_expand_tpoint.c -L/usr/local/lib -lmeos