106 void drawMapPlain(
ocpnDC &pnt,
double dx,
ViewPort &vp, wxColor seaColor,
107 wxColor landColor,
bool idl);
110 std::vector<wxLineF> *getCoasts() {
return &coasts; }
111 contour_list &getPoly1() {
return poly1; }
115 std::vector<wxLineF> *high_res_map[GSSH_SUBM * GSSH_SUBM];
123 std::vector<wxLineF> coasts;
125 contour_list poly1, poly2, poly3, poly4, poly5;
128 float_2Dpt *polyv[6];
131 void DrawPolygonFilled(
ocpnDC &pnt, contour_list *poly,
double dx,
132 ViewPort &vp, wxColor
const &color);
134 void DrawPolygonFilledGL(
ocpnDC &pnt, contour_list *p, float_2Dpt **pv,
135 int *pvc,
ViewPort &vp, wxColor
const &color,
138 void DrawPolygonContour(
ocpnDC &pnt, contour_list *poly,
double dx,
141 void ReadPoly(contour_list &poly);
142 void ReadPolygonFile();
205 int getLevel() {
return flag & 255; }
206 int isGreenwich() {
return greenwich; }
207 int isAntarctic() {
return antarctic; }
208 bool isOk() {
return ok; }
215 double west, east, south, north;
217 int areaFull, container, ancestor;
219 std::vector<GshhsPoint *> lsPoints;
224 bool greenwich, antarctic;
234 void drawContinents(
ocpnDC &pnt,
ViewPort &vp, wxColor
const &seaColor,
235 wxColor
const &landColor);
241 int GetPolyVersion() {
return gshhsPoly_reader->GetPolyVersion(); }
243 static wxString getNameExtension(
int quality);
244 static wxString getFileName_boundaries(
int quality);
245 static wxString getFileName_rivers(
int quality);
246 static wxString getFileName_Land(
int quality);
247 static bool gshhsFilesExists(
int quality);
249 int getQuality() {
return quality; }
252 bool crossing1(
wxLineF trajectWorld);
253 int ReadPolyVersion();
254 bool qualityAvailable[6];
256 void LoadQuality(
int quality);
257 int GetMinAvailableQuality() {
return minQualityAvailable; }
258 int GetMaxAvailableQuality() {
return maxQualityAvailable; }
262 int selectBestQuality(
void);
263 int selectBestQuality(
ViewPort &vp);
265 int maxQualityAvailable;
266 int minQualityAvailable;
272 std::vector<GshhsPolygon *> *lsPoly_boundaries[5];
273 std::vector<GshhsPolygon *> *lsPoly_rivers[5];
275 std::vector<GshhsPolygon *> &getList_boundaries();
276 std::vector<GshhsPolygon *> &getList_rivers();
279 int GSHHS_scaledPoints(
GshhsPolygon *pol, wxPoint *pts,
double decx,
282 void GsshDrawLines(
ocpnDC &pnt, std::vector<GshhsPolygon *> &lst,