• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

marble

  • Marble
  • RouteSegment
Public Member Functions | List of all members
Marble::RouteSegment Class Reference

#include <RouteSegment.h>

Public Member Functions

 RouteSegment ()
 
GeoDataLatLonBox bounds () const
 
qreal distance () const
 
qreal distanceTo (const GeoDataCoordinates &point, GeoDataCoordinates &closest, GeoDataCoordinates &interpolated) const
 
bool isValid () const
 
const Maneuver & maneuver () const
 
qreal minimalDistanceTo (const GeoDataCoordinates &point) const
 
const RouteSegment & nextRouteSegment () const
 
bool operator!= (const RouteSegment &other) const
 
bool operator== (const RouteSegment &other) const
 
const GeoDataLineString & path () const
 
void setManeuver (const Maneuver &maneuver)
 
void setNextRouteSegment (const RouteSegment *segment)
 
void setPath (const GeoDataLineString &path)
 
void setTravelTime (int seconds)
 
int travelTime () const
 

Detailed Description

Definition at line 23 of file RouteSegment.h.

Constructor & Destructor Documentation

Marble::RouteSegment::RouteSegment ( )

Definition at line 18 of file RouteSegment.cpp.

Member Function Documentation

GeoDataLatLonBox Marble::RouteSegment::bounds ( ) const

Definition at line 67 of file RouteSegment.cpp.

qreal Marble::RouteSegment::distance ( ) const

Definition at line 27 of file RouteSegment.cpp.

qreal Marble::RouteSegment::distanceTo ( const GeoDataCoordinates &  point,
GeoDataCoordinates &  closest,
GeoDataCoordinates &  interpolated 
) const

Definition at line 149 of file RouteSegment.cpp.

bool Marble::RouteSegment::isValid ( ) const

Definition at line 90 of file RouteSegment.cpp.

const Maneuver & Marble::RouteSegment::maneuver ( ) const

Definition at line 32 of file RouteSegment.cpp.

qreal Marble::RouteSegment::minimalDistanceTo ( const GeoDataCoordinates &  point) const

Definition at line 177 of file RouteSegment.cpp.

const RouteSegment & Marble::RouteSegment::nextRouteSegment ( ) const

Definition at line 72 of file RouteSegment.cpp.

bool Marble::RouteSegment::operator!= ( const RouteSegment &  other) const

Definition at line 207 of file RouteSegment.cpp.

bool Marble::RouteSegment::operator== ( const RouteSegment &  other) const

Definition at line 197 of file RouteSegment.cpp.

const GeoDataLineString & Marble::RouteSegment::path ( ) const

Definition at line 43 of file RouteSegment.cpp.

void Marble::RouteSegment::setManeuver ( const Maneuver &  maneuver)

Definition at line 37 of file RouteSegment.cpp.

void Marble::RouteSegment::setNextRouteSegment ( const RouteSegment *  segment)

Definition at line 82 of file RouteSegment.cpp.

void Marble::RouteSegment::setPath ( const GeoDataLineString &  path)

Definition at line 48 of file RouteSegment.cpp.

void Marble::RouteSegment::setTravelTime ( int  seconds)

Definition at line 61 of file RouteSegment.cpp.

int Marble::RouteSegment::travelTime ( ) const

Definition at line 56 of file RouteSegment.cpp.


The documentation for this class was generated from the following files:
  • RouteSegment.h
  • RouteSegment.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

marble

Skip menu "marble"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal