libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::SimplifiedPath Class Reference

#include <SimplifiedPath.h>

Public Member Functions

void AddPoint (qreal x, qreal y)
 
qreal AngleAtLength (qreal offset) const
 
qreal AngleAtLengthDeg (qreal offset) const
 
qreal GetLength () const
 
QPointF PointAtLength (qreal offset) const
 
 SimplifiedPath (qreal minSegmentLength=5)
 
bool TestAngleVariance (qreal startOffset, qreal endOffset, qreal maximumAngle)
 
virtual ~SimplifiedPath ()
 

Constructor & Destructor Documentation

osmscout::SimplifiedPath::SimplifiedPath ( qreal  minSegmentLength = 5)
osmscout::SimplifiedPath::~SimplifiedPath ( )
virtual

Member Function Documentation

void osmscout::SimplifiedPath::AddPoint ( qreal  x,
qreal  y 
)
qreal osmscout::SimplifiedPath::AngleAtLength ( qreal  offset) const

References osmscout::Segment::angle.

Referenced by AngleAtLengthDeg().

qreal osmscout::SimplifiedPath::AngleAtLengthDeg ( qreal  offset) const
qreal osmscout::SimplifiedPath::GetLength ( ) const
inline
QPointF osmscout::SimplifiedPath::PointAtLength ( qreal  offset) const
bool osmscout::SimplifiedPath::TestAngleVariance ( qreal  startOffset,
qreal  endOffset,
qreal  maximumAngle 
)

The documentation for this class was generated from the following files: