KItinerary::GeoCoordinates

Search for usage in LXR

KItinerary::GeoCoordinates Class Reference

#include <place.h>

Properties

bool isValid
 
float latitude
 
float longitude
 

Public Member Functions

 GeoCoordinates (float latitude, float 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

float KItinerary::GeoCoordinates::latitude
readwrite

Definition at line 25 of file place.h.

◆ longitude

float KItinerary::GeoCoordinates::longitude
readwrite

Definition at line 26 of file place.h.

Constructor & Destructor Documentation

◆ GeoCoordinates()

KItinerary::GeoCoordinates::GeoCoordinates ( float latitude,
float 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 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.