Class finding the nearest track point. More...
Public Member Functions | |
TS_bbox (BYVAL_AS_gboolean) | |
Conpute the bounding box for all tracks. More... | |
Static Public Member Functions | |
static FUNCTION_CDECL_AS_gboolean | _bounds (BYVAL_AS_GtkTreeModel_PTR, BYVAL_AS_GtkTreePath_PTR, BYVAL_AS_GtkTreeIter_PTR, BYVAL_AS_gpointer) |
Callback for computing bounds. More... | |
Public Attributes | |
float | La0 = PI |
float | La1 = -PI |
float | Lo0 = PI |
float | Lo1 = -PI |
LONG | Mode |
LONG | Cnt = 0 |
Class finding the nearest track point.
The constructor searches all active tracks for the point nearest to the given location. In case of more than four active tracks, the most nearest for loaders remain in the TS_nearest.Res array.
Definition at line 99 of file track_store.bi.
TS_bbox::TS_bbox | ( | BYVAL_AS_gboolean | Mo | ) |
Conpute the bounding box for all tracks.
Mo | Mode of operation (1 = enabled tracks only, 0 = all) |
This constructor evaluates the minimum and maximum longitude and latitude for tracks in the tree store.
Definition at line 308 of file track_store.bas.
|
static |
Callback for computing bounds.
Model | tree model |
Path | line in Model |
Iter | iter in Model |
UserData | unused |
This function is designed as a gtk_tree_model_foreach callback. It computes the bounding box for all tracks.
Definition at line 274 of file track_store.bas.
Definition at line 100 of file track_store.bi.
Definition at line 100 of file track_store.bi.
Definition at line 100 of file track_store.bi.
Definition at line 100 of file track_store.bi.
LONG TS_bbox::Mode |
Definition at line 101 of file track_store.bi.
LONG TS_bbox::Cnt = 0 |
Definition at line 101 of file track_store.bi.