KItinerary
KItinerary::KnowledgeDb::Coordinate Struct Reference
#include <knowledgedb.h>
Public Member Functions | |
constexpr | Coordinate (float lng, float lat) |
bool | isValid () const |
constexpr bool | operator== (Coordinate other) const |
Public Attributes | |
float | latitude |
float | longitude |
Detailed Description
Geographical coordinate.
This matches the binary data layout on disk, it's not intended for use in API.
Definition at line 27 of file knowledgedb.h.
Constructor & Destructor Documentation
◆ Coordinate() [1/2]
|
inlineconstexpr |
Definition at line 28 of file knowledgedb.h.
◆ Coordinate() [2/2]
|
inlineexplicitconstexpr |
Definition at line 34 of file knowledgedb.h.
Member Function Documentation
◆ isValid()
|
inline |
Definition at line 40 of file knowledgedb.h.
◆ operator==()
|
inlineconstexpr |
Definition at line 45 of file knowledgedb.h.
Member Data Documentation
◆ latitude
float KItinerary::KnowledgeDb::Coordinate::latitude |
Definition at line 51 of file knowledgedb.h.
◆ longitude
float KItinerary::KnowledgeDb::Coordinate::longitude |
Definition at line 50 of file knowledgedb.h.
The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:28:49 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:28:49 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.