KJB
|
Contains definitions of basic TopoFusion data structures. More...
Go to the source code of this file.
Classes | |
struct | kjb::TopoFusion::pt |
definition for a TopoFusion pt More... | |
struct | kjb::TopoFusion::seg |
old TopoFusion data structure for a sequence of pt structures More... | |
struct | kjb::TopoFusion::track |
old TopoFusion data structure: metadata for a seg More... | |
struct | kjb::TopoFusion::waypoint |
definition used for waypoint More... | |
struct | kjb::TopoFusion::layer |
definition used for layer More... | |
Namespaces | |
kjb | |
Classes and functions for dealing with trajectory files. | |
kjb::TopoFusion | |
this namespace hold structures and code written by Scott Morris. | |
Functions | |
pt | kjb::TopoFusion::make_pt (double eee, double nnn, char zzz, double elev=NO_ELEV) |
construct a point from its parameters but not as a ctor. More... | |
double | kjb::TopoFusion::dist (const pt a, const pt b) |
compute approx. Great Circle distance between two UTM points More... | |
double | kjb::TopoFusion::segmentLength (const seg *s) |
computes the length of a segment More... | |
void | kjb::TopoFusion::initLayer (layer *l) |
clear all the fields of a layer (pointers assumed to be dangling) More... | |
void | kjb::TopoFusion::destroyLayer (layer *l) |
release memory in the layer's tracks and waypoints arrays More... | |
void | kjb::TopoFusion::initTrack (track *t) |
clear the fields of a track (like a default constructor) More... | |
void | kjb::TopoFusion::initWaypoint (waypoint *w) |
clear the point.ele field of a waypoint (and that's all). More... | |
Variables | |
const size_t | kjb::TopoFusion::MAX_TRACKSTRING = 255 |
max len of string field in track, etc More... | |
const int | kjb::TopoFusion::NO_ELEV = -1 |
sentinel value for "blank" pt::ele More... | |
const size_t | kjb::TopoFusion::LAYER_FN_SIZE = 2048 |
max length of a layer's filename field More... | |
Contains definitions of basic TopoFusion data structures.
Definitions of basic data structures used throughout TopoFusion. including "pt" - basic point, "seg" - basic segment (polyline) "layer" - representation of a GPX file (collection of tracks/waypoints).
Originally from TopoFusion code.