Added insert method to GeoDataLineString class

Review Request #119633 - Created Aug. 6, 2014 and submitted

Information
Calin Cruceru
marble
master
Reviewers
marble

This patch adds GeoDataLineString::insert method.
Since all the others node-handling GeoDataLineString methods are just wrappers over QVector methods, so is this insert method. I need this for inserting nodes in a polyline (on which I'm working atm). Also, this would ease the implementation of adding nodes to polygons as well since GeoDataLinearRing inherits GeoDataLineString and uses the same methods for handling nodes (at the moment the adding is done by shifting the nodes and appending - but this is not possible for polylines).

I even used it for adding nodes to polylines and works fine.

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Torsten Rahn
Dennis Nienhüser
Calin Cruceru
Review request changed

Status: Closed (submitted)

Change Summary:

http://commits.kde.org/marble/44dd9738f3df7bf1cf9252dc65e51614b1d69d2b
Loading...