Implement gshhs.h – Global shoreline.  
More...
#include <cmath>
#include <list>
#include <vector>
#include <wx/wxprec.h>
#include <wx/wx.h>
#include <wx/colour.h>
#include <wx/debug.h>
#include <wx/file.h>
#include <wx/gdicmn.h>
#include <wx/log.h>
#include <wx/pen.h>
#include <wx/utils.h>
#include "model/config_vars.h"
#include "chartbase.h"
#include "dychart.h"
#include "gshhs.h"
#include "linmath.h"
#include "ocpndc.h"
Go to the source code of this file.
|  | 
| #define | __CALL_CONVENTION | 
|  | 
| #define | DRAW_POLY_FILLED(POLY,  COL)     if (POLY) DrawPolygonFilled(pnt, POLY, dx, vp, COL); | 
|  | 
| #define | DRAW_POLY_FILLED_GL(NUM,  COL)     DrawPolygonFilledGL(pnt, &poly##NUM, &polyv[NUM], &polyc[NUM], vp, COL, idl); | 
|  | 
| #define | DRAW_POLY_CONTOUR(POLY)     if (POLY) DrawPolygonContour(pnt, POLY, dx, vp); | 
|  | 
| #define | INTER_LIMIT   1e-7 | 
|  | 
Implement gshhs.h – Global shoreline. 
Derived from http://www.zygrib.org/ and http://sourceforge.net/projects/qtvlm/ which have the original copyrights 
Definition in file gshhs.cpp.
◆ __CALL_CONVENTION
      
        
          | #define __CALL_CONVENTION | 
      
 
 
◆ DRAW_POLY_CONTOUR
      
        
          | #define DRAW_POLY_CONTOUR | ( |  | POLY | ) | if (POLY) DrawPolygonContour(pnt, POLY, dx, vp); | 
      
 
 
◆ DRAW_POLY_FILLED
      
        
          | #define DRAW_POLY_FILLED | ( |  | POLY, | 
        
          |  |  |  | COL | 
        
          |  | ) |  | if (POLY) DrawPolygonFilled(pnt, POLY, dx, vp, COL); | 
      
 
 
◆ DRAW_POLY_FILLED_GL
      
        
          | #define DRAW_POLY_FILLED_GL | ( |  | NUM, | 
        
          |  |  |  | COL | 
        
          |  | ) |  | DrawPolygonFilledGL(pnt, &poly##NUM, &polyv[NUM], &polyc[NUM], vp, COL, idl); | 
      
 
 
◆ GetDoublePixFromLL()
      
        
          | wxPoint2DDouble GetDoublePixFromLL | ( | ViewPort & | vp, | 
        
          |  |  | double | lat, | 
        
          |  |  | double | lon | 
        
          |  | ) |  |  | 
      
 
 
◆ gshhsCrossesLand()
      
        
          | bool gshhsCrossesLand | ( | double | lat1, | 
        
          |  |  | double | lon1, | 
        
          |  |  | double | lat2, | 
        
          |  |  | double | lon2 | 
        
          |  | ) |  |  | 
      
 
 
◆ gshhsCrossesLandInit()
      
        
          | void gshhsCrossesLandInit | ( |  | ) |  | 
      
 
 
◆ gshhsCrossesLandReset()
      
        
          | void gshhsCrossesLandReset | ( |  | ) |  |