Skip to content

Commit

Permalink
Merge branch 'gitflow'
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Commandeur committed Aug 16, 2018
2 parents 0c76ebf + 83bce52 commit a90bc0d
Show file tree
Hide file tree
Showing 21 changed files with 13 additions and 32 deletions.
1 change: 0 additions & 1 deletion src/Bridge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
*/

#include "Bridge.h"
#include "io.h"

float Bridge::_heightref;
bool Bridge::_flatten;
Expand Down
1 change: 1 addition & 0 deletions src/Bridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#define Bridge_h

#include "TopoFeature.h"
#include "io.h"

class Bridge: public Boundary3D {
public:
Expand Down
2 changes: 0 additions & 2 deletions src/Building.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
*/

#include "Building.h"
#include "io.h"
#include <algorithm>

//-- static variable
float Building::_heightref_top;
Expand Down
2 changes: 2 additions & 0 deletions src/Building.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
#define Building_h

#include "TopoFeature.h"
#include "io.h"
#include <algorithm>

class Building: public Flat {
public:
Expand Down
1 change: 0 additions & 1 deletion src/Forest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
*/

#include "Forest.h"
#include "io.h"

Forest::Forest(char *wkt, std::string layername, AttributeMap attributes, std::string pid, int simplification, double simplification_tinsimp, float innerbuffer)
: TIN(wkt, layername, attributes, pid, simplification, simplification_tinsimp, innerbuffer) {}
Expand Down
1 change: 1 addition & 0 deletions src/Forest.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#define Forest_h

#include "TopoFeature.h"
#include "io.h"

class Forest: public TIN {
public:
Expand Down
6 changes: 0 additions & 6 deletions src/Map3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@
*/

#include "Map3d.h"
#include "io.h"
#include "boost/locale.hpp"
#include "boost/tokenizer.hpp"
#include "boost/algorithm/string.hpp"
#include "nlohmann-json/json.hpp"
#include "codecvt"

Map3d::Map3d() {
OGRRegisterAll();
Expand Down
5 changes: 2 additions & 3 deletions src/Map3d.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@

#include "definitions.h"
#include "geomtools.h"
#include "io.h"
#include "TopoFeature.h"
#include "Building.h"
#include "Terrain.h"
Expand All @@ -39,9 +40,7 @@
#include "Road.h"
#include "Separation.h"
#include "Bridge.h"

#include <set>
#include <array>
#include "boost/locale.hpp"

typedef std::pair<Box2, TopoFeature*> PairIndexed;

Expand Down
1 change: 0 additions & 1 deletion src/Road.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
*/

#include "Road.h"
#include "io.h"

float Road::_heightref;
bool Road::_filter_outliers;
Expand Down
1 change: 1 addition & 0 deletions src/Road.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#define Road_h

#include "TopoFeature.h"
#include "io.h"

class Road: public Boundary3D {
public:
Expand Down
1 change: 0 additions & 1 deletion src/Separation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
*/

#include "Separation.h"
#include "io.h"

float Separation::_heightref;

Expand Down
1 change: 1 addition & 0 deletions src/Separation.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#define Separation_h

#include "TopoFeature.h"
#include "io.h"

class Separation: public Boundary3D {
public:
Expand Down
2 changes: 0 additions & 2 deletions src/Terrain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
*/

#include "Terrain.h"
#include "io.h"
#include <algorithm>

Terrain::Terrain(char *wkt, std::string layername, AttributeMap attributes, std::string pid, int simplification, double simplification_tinsimp, float innerbuffer)
: TIN(wkt, layername, attributes, pid, simplification, simplification_tinsimp, innerbuffer) {}
Expand Down
1 change: 1 addition & 0 deletions src/Terrain.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#define Terrain_h

#include "TopoFeature.h"
#include "io.h"

class Terrain: public TIN {
public:
Expand Down
2 changes: 0 additions & 2 deletions src/TopoFeature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
*/

#include "TopoFeature.h"
#include "io.h"
#include "polyfit.hpp"

TopoFeature::TopoFeature(char *wkt, std::string layername, AttributeMap attributes, std::string pid) {
_id = pid;
Expand Down
3 changes: 2 additions & 1 deletion src/TopoFeature.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@

#include "definitions.h"
#include "geomtools.h"
#include "io.h"
#include "polyfit.hpp"
#include "nlohmann-json/json.hpp"
#include <random>

class TopoFeature {
public:
Expand Down
1 change: 0 additions & 1 deletion src/Water.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
*/

#include "Water.h"
#include "io.h"

float Water::_heightref;

Expand Down
1 change: 1 addition & 0 deletions src/Water.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#define Water_h

#include "TopoFeature.h"
#include "io.h"

class Water: public Flat {
public:
Expand Down
7 changes: 0 additions & 7 deletions src/definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
#define __3DFIER__Definitions__

#include <iostream>
#include <iomanip>
#include <cmath>
#include <vector>
#include <set>
#include <map>
#include <unordered_map>

#include <liblas/liblas.hpp>
Expand All @@ -15,17 +12,13 @@
#include <boost/geometry.hpp>
#include <boost/geometry/geometries/point_xy.hpp>
#include <boost/geometry/geometries/box.hpp>
#include <boost/geometry/geometries/linestring.hpp>
#include <boost/geometry/geometries/polygon.hpp>
#include <boost/geometry/index/rtree.hpp>
#include "boost/filesystem.hpp"
#include <boost/filesystem/operations.hpp>

namespace bg = boost::geometry;
namespace bgi = boost::geometry::index;
typedef bg::model::d2::point_xy<double> Point2;
typedef bg::model::segment<Point2> Segment2;
typedef bg::model::linestring<Point2> Linestring2;
typedef bg::model::polygon<Point2, true, false> Polygon2; //-- cw, first!=last
typedef bg::model::ring<Point2, true, false> Ring2; //-- cw, first!=last
typedef bg::model::box<Point2> Box2;
Expand Down
4 changes: 1 addition & 3 deletions src/geomtools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
Julianalaan 134, Delft 2628BL, the Netherlands
*/

#include "io.h"
#include "geomtools.h"
#include "io.h"
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
#include <CGAL/Constrained_Delaunay_triangulation_2.h>
#include <CGAL/Projection_traits_xy_3.h>
Expand All @@ -37,8 +37,6 @@

#include <vector>
#include <unordered_set>
#include <iterator>
#include <memory>
#include <boost/heap/fibonacci_heap.hpp>

// fibonacci heap for greedy insertion code
Expand Down
1 change: 0 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
#include "boost/chrono.hpp"
#include <boost/program_options.hpp>
#include <boost/filesystem.hpp>
#include <map>

std::string VERSION = "1.0";

Expand Down

0 comments on commit a90bc0d

Please sign in to comment.