100 void drawMapPlain(
ocpnDC &pnt,
double dx,
ViewPort &vp, wxColor seaColor,
101 wxColor landColor,
bool idl);
104 std::vector<wxLineF> *getCoasts() {
return &coasts; }
105 contour_list &getPoly1() {
return poly1; }
109 std::vector<wxLineF> *high_res_map[GSSH_SUBM * GSSH_SUBM];
117 std::vector<wxLineF> coasts;
119 contour_list poly1, poly2, poly3, poly4, poly5;
122 float_2Dpt *polyv[6];
125 void DrawPolygonFilled(
ocpnDC &pnt, contour_list *poly,
double dx,
126 ViewPort &vp, wxColor
const &color);
128 void DrawPolygonFilledGL(
ocpnDC &pnt, contour_list *p, float_2Dpt **pv,
129 int *pvc,
ViewPort &vp, wxColor
const &color,
132 void DrawPolygonContour(
ocpnDC &pnt, contour_list *poly,
double dx,
135 void ReadPoly(contour_list &poly);
136 void ReadPolygonFile();
199 int getLevel() {
return flag & 255; }
200 int isGreenwich() {
return greenwich; }
201 int isAntarctic() {
return antarctic; }
202 bool isOk() {
return ok; }
209 double west, east, south, north;
211 int areaFull, container, ancestor;
213 std::vector<GshhsPoint *> lsPoints;
218 bool greenwich, antarctic;
228 void drawContinents(
ocpnDC &pnt,
ViewPort &vp, wxColor
const &seaColor,
229 wxColor
const &landColor);
235 int GetPolyVersion() {
return gshhsPoly_reader->GetPolyVersion(); }
237 static wxString getNameExtension(
int quality);
238 static wxString getFileName_boundaries(
int quality);
239 static wxString getFileName_rivers(
int quality);
240 static wxString getFileName_Land(
int quality);
241 static bool gshhsFilesExists(
int quality);
243 int getQuality() {
return quality; }
246 bool crossing1(
wxLineF trajectWorld);
248 int ReadPolyVersion();
249 bool qualityAvailable[6];
251 void LoadQuality(
int quality);
252 int GetMinAvailableQuality() {
return minQualityAvailable; }
253 int GetMaxAvailableQuality() {
return maxQualityAvailable; }
257 int selectBestQuality(
void);
272 int selectBestQuality(
ViewPort &vp);
274 int maxQualityAvailable;
275 int minQualityAvailable;
281 std::vector<GshhsPolygon *> *lsPoly_boundaries[5];
282 std::vector<GshhsPolygon *> *lsPoly_rivers[5];
284 std::vector<GshhsPolygon *> &getList_boundaries();
285 std::vector<GshhsPolygon *> &getList_rivers();
288 int GSHHS_scaledPoints(
GshhsPolygon *pol, wxPoint *pts,
double decx,
291 void GsshDrawLines(
ocpnDC &pnt, std::vector<GshhsPolygon *> &lst,