103 void drawMapPlain(
ocpnDC &pnt,
double dx,
ViewPort &vp, wxColor seaColor,
104 wxColor landColor,
bool idl);
107 std::vector<wxLineF> *getCoasts() {
return &coasts; }
108 contour_list &getPoly1() {
return poly1; }
112 std::vector<wxLineF> *high_res_map[GSSH_SUBM * GSSH_SUBM];
120 std::vector<wxLineF> coasts;
122 contour_list poly1, poly2, poly3, poly4, poly5;
125 float_2Dpt *polyv[6];
128 void DrawPolygonFilled(
ocpnDC &pnt, contour_list *poly,
double dx,
129 ViewPort &vp, wxColor
const &color);
131 void DrawPolygonFilledGL(
ocpnDC &pnt, contour_list *p, float_2Dpt **pv,
132 int *pvc,
ViewPort &vp, wxColor
const &color,
135 void DrawPolygonContour(
ocpnDC &pnt, contour_list *poly,
double dx,
138 void ReadPoly(contour_list &poly);
139 void ReadPolygonFile();
202 int getLevel() {
return flag & 255; }
203 int isGreenwich() {
return greenwich; }
204 int isAntarctic() {
return antarctic; }
205 bool isOk() {
return ok; }
212 double west, east, south, north;
214 int areaFull, container, ancestor;
216 std::vector<GshhsPoint *> lsPoints;
221 bool greenwich, antarctic;
231 void drawContinents(
ocpnDC &pnt,
ViewPort &vp, wxColor
const &seaColor,
232 wxColor
const &landColor);
238 int GetPolyVersion() {
return gshhsPoly_reader->GetPolyVersion(); }
240 static wxString getNameExtension(
int quality);
241 static wxString getFileName_boundaries(
int quality);
242 static wxString getFileName_rivers(
int quality);
243 static wxString getFileName_Land(
int quality);
244 static bool gshhsFilesExists(
int quality);
246 int getQuality() {
return quality; }
249 bool crossing1(
wxLineF trajectWorld);
251 int ReadPolyVersion();
252 bool qualityAvailable[6];
254 void LoadQuality(
int quality);
255 int GetMinAvailableQuality() {
return minQualityAvailable; }
256 int GetMaxAvailableQuality() {
return maxQualityAvailable; }
260 int selectBestQuality(
void);
275 int selectBestQuality(
ViewPort &vp);
277 int maxQualityAvailable;
278 int minQualityAvailable;
284 std::vector<GshhsPolygon *> *lsPoly_boundaries[5];
285 std::vector<GshhsPolygon *> *lsPoly_rivers[5];
287 std::vector<GshhsPolygon *> &getList_boundaries();
288 std::vector<GshhsPolygon *> &getList_rivers();
291 int GSHHS_scaledPoints(
GshhsPolygon *pol, wxPoint *pts,
double decx,
294 void GsshDrawLines(
ocpnDC &pnt, std::vector<GshhsPolygon *> &lst,