OpenCPN Partial API docs
Loading...
Searching...
No Matches
chartdb.cpp File Reference

Implement chartdb.h – chart database management. More...

#include <wx/wxprec.h>
#include <wx/wx.h>
#include <wx/stopwatch.h>
#include <wx/regex.h>
#include <wx/tokenzr.h>
#include <wx/dir.h>
#include "dychart.h"
#include "config.h"
#include "chartdb.h"
#include "chartimg.h"
#include "thumbwin.h"
#include "mbtiles.h"
#include "canvas_config.h"
#include "config_mgr.h"
#include "ocpn_frame.h"
#include <stdio.h>
#include <math.h>
#include <wx/progdlg.h>
#include "chcanv.h"
#include "s57chart.h"
#include "cm93.h"

Go to the source code of this file.

Functions

ColorScheme GetColorScheme ()
 
bool GetMemoryStatus (int *mem_total, int *mem_used)
 
bool G_FloatPtInPolygon (MyFlPoint *rgpts, int wnumpts, float x, float y)
 
bool Intersect (MyFlPoint p1, MyFlPoint p2, MyFlPoint p3, MyFlPoint p4)
 
int CCW (MyFlPoint p0, MyFlPoint p1, MyFlPoint p2)
 

Variables

s52plib * ps52plib
 
ChartDBChartData
 Global instance.
 
std::vector< std::string > ChartDirectoryExcludedVector
 Global instance.
 

Detailed Description

Implement chartdb.h – chart database management.

Definition in file chartdb.cpp.

Function Documentation

◆ CCW()

int CCW ( MyFlPoint  p0,
MyFlPoint  p1,
MyFlPoint  p2 
)
inline

Definition at line 1946 of file chartdb.cpp.

◆ G_FloatPtInPolygon()

bool G_FloatPtInPolygon ( MyFlPoint rgpts,
int  wnumpts,
float  x,
float  y 
)

Definition at line 1877 of file chartdb.cpp.

◆ GetColorScheme()

ColorScheme GetColorScheme ( )
extern

Definition at line 1043 of file ocpn_frame.cpp.

◆ GetMemoryStatus()

bool GetMemoryStatus ( int *  mem_total,
int *  mem_used 
)
extern

Definition at line 6306 of file ocpn_frame.cpp.

◆ Intersect()

bool Intersect ( MyFlPoint  p1,
MyFlPoint  p2,
MyFlPoint  p3,
MyFlPoint  p4 
)
inline

Definition at line 1928 of file chartdb.cpp.

Variable Documentation

◆ ChartData

ChartDB * ChartData

Global instance.

Definition at line 72 of file chartdb.cpp.

◆ ChartDirectoryExcludedVector

std::vector<std::string> ChartDirectoryExcludedVector

Global instance.

Definition at line 74 of file chartdb.cpp.