|
OpenCPN Partial API docs
|
GRIB Isobar and Isoline Generation System. More...
#include <iostream>#include <cmath>#include <vector>#include <list>#include <set>#include "ocpn_plugin.h"#include "GribReader.h"Go to the source code of this file.
Classes | |
| class | Segment |
| class | IsoLine |
Typedefs | |
| typedef long | outcode |
Enumerations | |
| enum | ClipResult { Visible , Invisible } |
| enum | edge { LEFT , RIGHT , BOTTOM , TOP } |
Functions | |
| WX_DECLARE_LIST (Segment, MySegList) | |
| WX_DECLARE_LIST (MySegList, MySegListList) | |
| void | CompOutCode (double x, double y, outcode *code, struct LOC_cohen_sutherland_line_clip *LINK) |
GRIB Isobar and Isoline Generation System.
Implements algorithms for generating and rendering isolines (contours) from GRIB weather data grids. The system specializes in:
Key Features:
The implementation uses the Cohen-Sutherland line clipping algorithm for viewport culling and provides specialized handling for circular quantities like wind direction that wrap around 0-360 degrees.
Definition in file IsoLine.h.
| void CompOutCode | ( | double | x, |
| double | y, | ||
| outcode * | code, | ||
| struct LOC_cohen_sutherland_line_clip * | LINK ) |
Definition at line 58 of file IsoLine.cpp.