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]

KItinerary::KnowledgeDb::Coordinate::Coordinate ( )
inlineconstexpr

Definition at line 28 of file knowledgedb.h.

◆ Coordinate() [2/2]

KItinerary::KnowledgeDb::Coordinate::Coordinate ( float lng,
float lat )
inlineexplicitconstexpr

Definition at line 34 of file knowledgedb.h.

Member Function Documentation

◆ isValid()

bool KItinerary::KnowledgeDb::Coordinate::isValid ( ) const
inline

Definition at line 40 of file knowledgedb.h.

◆ operator==()

bool KItinerary::KnowledgeDb::Coordinate::operator== ( Coordinate other) const
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 18 2024 12:09:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.