KItinerary::GeoCoordinates

Search for usage in LXR

KItinerary::GeoCoordinates Class Reference

#include <place.h>

Properties

bool isValid
 
double latitude
 
double longitude
 

Public Member Functions

 GeoCoordinates (double latitude, double longitude)
 
bool isValid () const
 

Detailed Description

Geographic coordinates.

See also
https://schema.org/GeoCoordinates

Definition at line 22 of file place.h.

Property Documentation

◆ isValid

bool KItinerary::GeoCoordinates::isValid
read

Definition at line 28 of file place.h.

◆ latitude

double KItinerary::GeoCoordinates::latitude
readwrite

Definition at line 25 of file place.h.

◆ longitude

double KItinerary::GeoCoordinates::longitude
readwrite

Definition at line 26 of file place.h.

Constructor & Destructor Documentation

◆ GeoCoordinates()

KItinerary::GeoCoordinates::GeoCoordinates ( double latitude,
double longitude )

Definition at line 30 of file place.cpp.

Member Function Documentation

◆ isValid()

bool KItinerary::GeoCoordinates::isValid ( ) const

Returns true if both latitude and longitude are set and within the valid range.

Definition at line 38 of file place.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:37 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.