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]

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

Definition at line 28 of file knowledgedb.h.

◆ Coordinate() [2/2]

constexpr 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==()

constexpr 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 Tue Mar 26 2024 11:14:49 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.