|
Rose
|
Partition lines across discontinuities introduced by the current map projection. More...
#include <MapProjection.h>


Public Types | |
| using | Predicate = std::function< bool(Position &, Position &)> |
| A predicate which returns true if two Positions belong in the same partition. | |
Public Member Functions | |
| void | partition () |
| void | partition (Predicate p) |
| bool | draw (std::function< bool(const Position &, const Position &)> p) |
Protected Types | |
| using | LineSegment = std::vector< Position > |
| The type of a line segment. | |
| using | LineParts = std::vector< LineSegment > |
| The type of a partitioned line. | |
Protected Attributes | |
| LineParts | mLineParts {} |
| The partitioned line segments. | |
Partition lines across discontinuities introduced by the current map projection.
1.8.13