mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-19 04:02:09 +01:00
Cosmetics
This commit is contained in:
parent
a531b7859b
commit
37a4f80fbb
@ -581,10 +581,9 @@ bool RGNFile::segments(Handle &hdl, SubDiv *subdiv, SubDiv::Segment seg[5]) cons
|
|||||||
|
|
||||||
bool RGNFile::subdivInit(Handle &hdl, SubDiv *subdiv) const
|
bool RGNFile::subdivInit(Handle &hdl, SubDiv *subdiv) const
|
||||||
{
|
{
|
||||||
SubDiv::Segment seg[5];
|
SubDiv::Segment std[5], extPoints, extLines, extPolygons;
|
||||||
SubDiv::Segment extPoints, extLines, extPolygons;
|
|
||||||
|
|
||||||
if (!segments(hdl, subdiv, seg))
|
if (!segments(hdl, subdiv, std))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (subdiv->extPointsOffset() != subdiv->extPointsEnd()) {
|
if (subdiv->extPointsOffset() != subdiv->extPointsEnd()) {
|
||||||
@ -609,8 +608,8 @@ bool RGNFile::subdivInit(Handle &hdl, SubDiv *subdiv) const
|
|||||||
extLines = SubDiv::Segment(start, end);
|
extLines = SubDiv::Segment(start, end);
|
||||||
}
|
}
|
||||||
|
|
||||||
subdiv->init(seg[Point], seg[IndexedPoint], seg[Line], seg[Polygon],
|
subdiv->init(std[Point], std[IndexedPoint], std[Line], std[Polygon],
|
||||||
seg[RoadReference], extPoints, extLines, extPolygons);
|
std[RoadReference], extPoints, extLines, extPolygons);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
#define IMG_SUBDIV_H
|
#define IMG_SUBDIV_H
|
||||||
|
|
||||||
#include <QtGlobal>
|
#include <QtGlobal>
|
||||||
#include "common/coordinates.h"
|
|
||||||
#include "common/garmin.h"
|
|
||||||
|
|
||||||
namespace IMG {
|
namespace IMG {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user