OpenCPN Partial API docs
Loading...
Searching...
No Matches
TrackPoint Class Reference

Public Member Functions

 TrackPoint (double lat, double lon, wxString ts="")
 
 TrackPoint (double lat, double lon, wxDateTime dt)
 
 TrackPoint (TrackPoint *orig)
 
wxDateTime GetCreateTime (void)
 
void SetCreateTime (wxDateTime dt)
 
const char * GetTimeString ()
 
bool HasValidTimestamp ()
 

Public Attributes

double m_lat
 
double m_lon
 
int m_GPXTrkSegNo
 

Detailed Description

Definition at line 50 of file track.h.

Constructor & Destructor Documentation

◆ TrackPoint() [1/3]

TrackPoint::TrackPoint ( double  lat,
double  lon,
wxString  ts = "" 
)

Definition at line 130 of file track.cpp.

◆ TrackPoint() [2/3]

TrackPoint::TrackPoint ( double  lat,
double  lon,
wxDateTime  dt 
)

Definition at line 135 of file track.cpp.

◆ TrackPoint() [3/3]

TrackPoint::TrackPoint ( TrackPoint orig)

Definition at line 141 of file track.cpp.

◆ ~TrackPoint()

TrackPoint::~TrackPoint ( )

Definition at line 148 of file track.cpp.

Member Function Documentation

◆ GetCreateTime()

wxDateTime TrackPoint::GetCreateTime ( void  )

Definition at line 150 of file track.cpp.

◆ GetTimeString()

const char * TrackPoint::GetTimeString ( )
inline

Definition at line 59 of file track.h.

◆ HasValidTimestamp()

bool TrackPoint::HasValidTimestamp ( )
inline

Definition at line 60 of file track.h.

◆ SetCreateTime()

void TrackPoint::SetCreateTime ( wxDateTime  dt)

Definition at line 156 of file track.cpp.

Member Data Documentation

◆ m_GPXTrkSegNo

int TrackPoint::m_GPXTrkSegNo

Definition at line 67 of file track.h.

◆ m_lat

double TrackPoint::m_lat

Definition at line 66 of file track.h.

◆ m_lon

double TrackPoint::m_lon

Definition at line 66 of file track.h.


The documentation for this class was generated from the following files: