21 #ifndef EMODNET_QMGC_TIN_CREATION_REMESHING_H 22 #define EMODNET_QMGC_TIN_CREATION_REMESHING_H 24 #include "tin_creator.h" 25 #include "tin_creation_utils.h" 53 : m_facetAngle(facetAngle)
55 m_facetDistancePerZoom = std::vector<double>{facetDistance};
56 m_facetSizePerZoom = std::vector<double>{facetSize};
57 m_edgeSizePerZoom = std::vector<double>{edgeSize};
63 const std::vector<double>& facetSize,
64 const std::vector<double>& edgeSize)
65 : m_facetDistancePerZoom(facetDistance)
66 , m_facetAngle(facetAngle)
67 , m_facetSizePerZoom(facetSize)
68 , m_edgeSizePerZoom(edgeSize)
73 Polyhedron
create(
const std::vector<Point_3>& dataPts,
74 const bool& constrainEasternVertices,
75 const bool& constrainWesternVertices,
76 const bool& constrainNorthernVertices,
77 const bool& constrainSouthernVertices);
88 double m_facetDistance;
92 std::vector<double> m_facetDistancePerZoom;
93 std::vector<double> m_facetSizePerZoom;
94 std::vector<double> m_edgeSizePerZoom;
99 bool dataPtsArePlanar(
const std::vector<Point_3>& dataPts)
const;
102 std::vector<Point_3> defaultPointsForPlanarTile()
const;
106 Polylines borderPolylineToIndividualEdges(Polyline& poly);
111 #endif //EMODNET_QMGC_TIN_CREATION_REMESHING_H Polyhedron create(const std::vector< Point_3 > &dataPts, const bool &constrainEasternVertices, const bool &constrainWesternVertices, const bool &constrainNorthernVertices, const bool &constrainSouthernVertices)
Create a TIN from a set of points.
Definition: tin_creation_remeshing_strategy.cpp:35
T standardHandlingOfThresholdPerZoom(const std::vector< T > &thresholdsPerZoom, const unsigned int &zoom, const bool &downScale=true)
Definition: tin_creation_utils.h:43
This namespace contains all the types/classes/functions required to create a TIN out of a regularly g...
Creates a TIN using Delaunay refinement algorithm.
Definition: tin_creation_remeshing_strategy.h:46
void setParamsForZoom(const unsigned int &zoom)
Adapts the parameters of the algorithm for the desired zoom level.
Definition: tin_creation_remeshing_strategy.h:80
Defines the interphase of a TIN creation algorithm.
Definition: tin_creator.h:37