1 #ifndef OSMSCOUT_MAP_SIMPLIFIEDPATH_H 2 #define OSMSCOUT_MAP_SIMPLIFIEDPATH_H 46 std::vector<Segment> segments;
47 std::vector<size_t> offsetIndex;
48 double minSegmentLength;
55 void AddPoint(
double x,
double y);
57 return length+endDistance;
59 Vertex2D PointAtLength(
double offset)
const;
60 double AngleAtLength(
double offset)
const;
61 double AngleAtLengthDeg(
double offset)
const;
74 bool TestAngleVariance(
double startOffset,
double endOffset,
double maximumAngle)
const;
77 const Segment& SegmentBefore(
double offset)
const;
double angle
Definition: LabelPath.h:34
Vertex2D start
Definition: LabelPath.h:31
double GetLength() const
Definition: LabelPath.h:56
Definition: LabelPath.h:29
double length
Definition: LabelPath.h:33
Definition: LabelPath.h:42
#define OSMSCOUT_MAP_API
Definition: MapImportExport.h:45
double offset
Definition: LabelPath.h:32