OpenCPN Partial API docs
Loading...
Searching...
No Matches
gshhs.h File Reference

GSHHS Chart Object (Global Self-consistent, Hierarchical, High-resolution Shoreline) Derived from http://www.zygrib.org/ and http://sourceforge.net/projects/qtvlm/ which have the original copyrights. More...

#include <string>
#include <vector>
#include "viewport.h"
#include "poly_math.h"
#include "color_types.h"
#include "ocpndc.h"

Go to the source code of this file.

Classes

class  wxLineF
 
struct  PolygonFileHeader
 
class  GshhsPolyCell
 
class  GshhsPolyReader
 
class  GshhsPoint
 
class  GshhsPolygon
 
class  GshhsReader
 
class  GSHHSChart
 

Macros

#define M_PI_2   1.57079632679489661923
 
#define M_PI_4   0.785398163397448309616
 
#define GSSH_SUBM   16
 
#define GSHHS_SCL   1.0e-6 /* Convert micro-degrees to degrees */
 

Typedefs

typedef std::vector< wxRealPoint > contour
 
typedef std::vector< contour > contour_list
 

Functions

void gshhsCrossesLandInit ()
 
void gshhsCrossesLandReset ()
 
bool gshhsCrossesLand (double lat1, double lon1, double lat2, double lon2)
 

Detailed Description

GSHHS Chart Object (Global Self-consistent, Hierarchical, High-resolution Shoreline) Derived from http://www.zygrib.org/ and http://sourceforge.net/projects/qtvlm/ which have the original copyrights.

Definition in file gshhs.h.

Macro Definition Documentation

◆ GSHHS_SCL

#define GSHHS_SCL   1.0e-6 /* Convert micro-degrees to degrees */

Definition at line 299 of file gshhs.h.

◆ GSSH_SUBM

#define GSSH_SUBM   16

Definition at line 89 of file gshhs.h.

◆ M_PI_2

#define M_PI_2   1.57079632679489661923

Definition at line 51 of file gshhs.h.

◆ M_PI_4

#define M_PI_4   0.785398163397448309616

Definition at line 54 of file gshhs.h.

Typedef Documentation

◆ contour

typedef std::vector<wxRealPoint> contour

Definition at line 87 of file gshhs.h.

◆ contour_list

typedef std::vector<contour> contour_list

Definition at line 88 of file gshhs.h.

Function Documentation

◆ gshhsCrossesLand()

bool gshhsCrossesLand ( double  lat1,
double  lon1,
double  lat2,
double  lon2 
)

Definition at line 1504 of file gshhs.cpp.

◆ gshhsCrossesLandInit()

void gshhsCrossesLandInit ( )

Definition at line 1483 of file gshhs.cpp.

◆ gshhsCrossesLandReset()

void gshhsCrossesLandReset ( )

Definition at line 1497 of file gshhs.cpp.