Holds the business logic of parsing the response of level curve IGN web service, in order to send signals to create level curves in Tympan site.
More...
#include <TYIGNLevelCurvesParser.h>
Holds the business logic of parsing the response of level curve IGN web service, in order to send signals to create level curves in Tympan site.
Definition at line 82 of file TYIGNLevelCurvesParser.h.
◆ TYIGNLevelCurvesParser()
| TYIGNLevelCurvesParser::TYIGNLevelCurvesParser |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ buildCTFromXMLFile()
| bool TYIGNLevelCurvesParser::buildCTFromXMLFile |
( |
const OCoord3D & |
SIGCoords | ) |
|
Build constrained triangulation from IGN XML file containing level curves.
- Parameters
-
| SIGCoords | The coordinates of the origin of the zone in Tympan coordinate system |
- Returns
- bool
true if succeeds; false if not.
Definition at line 105 of file TYIGNLevelCurvesParser.cpp.
◆ buildPolylineFromCourbe()
| bool TYIGNLevelCurvesParser::buildPolylineFromCourbe |
( |
const QDomElement & |
courbe, |
|
|
const OCoord3D & |
SIGCoords |
|
) |
| |
◆ buildXmlDocument()
| bool TYIGNLevelCurvesParser::buildXmlDocument |
( |
const QString & |
text | ) |
|
◆ convertLatLonToWebMercator()
| TYPoint TYIGNLevelCurvesParser::convertLatLonToWebMercator |
( |
double |
latitude, |
|
|
double |
longitude |
|
) |
| |
|
static |
◆ courbeNiveauCreated
| void TYIGNLevelCurvesParser::courbeNiveauCreated |
( |
LPTYCourbeNiveau |
courbeNiveau | ) |
|
|
signal |
◆ createLevelCurvesFromCT()
| bool TYIGNLevelCurvesParser::createLevelCurvesFromCT |
( |
const OCoord3D & |
SIGCoords, |
|
|
const OBox & |
selectedZone, |
|
|
double |
scaleFactor |
|
) |
| |
Create level curves from CGAL constrained triangulation.
- Parameters
-
| SIGCoords | The coordinates of the origin of the zone in Tympan coordinate system |
| selectedZone | Zone selected by user in IGN coordinate system |
| scaleFactor | Scale factor depending from latitude which preserves geometry at the best when projecting in Tympan 2D coordinate system |
- Returns
- bool
true if succeeds; false if not.
Definition at line 169 of file TYIGNLevelCurvesParser.cpp.
◆ getCGALPoint()
| Point TYIGNLevelCurvesParser::getCGALPoint |
( |
const QStringList & |
points, |
|
|
int |
index, |
|
|
const OCoord3D & |
SIGCoords, |
|
|
double |
altitude |
|
) |
| |
|
static |
◆ getConstraintToAltimetryInfoMap()
◆ getCT()
| const CT & TYIGNLevelCurvesParser::getCT |
( |
| ) |
const |
|
inline |
◆ getPoint()
| TYPoint TYIGNLevelCurvesParser::getPoint |
( |
const QStringList & |
points, |
|
|
int |
index, |
|
|
const OCoord3D & |
SIGCoords, |
|
|
double |
altitude |
|
) |
| |
|
static |
◆ getXmlDocument()
| QDomDocument TYIGNLevelCurvesParser::getXmlDocument |
( |
| ) |
const |
|
inline |
◆ hasRetrievedLevelCurves()
| bool TYIGNLevelCurvesParser::hasRetrievedLevelCurves |
( |
| ) |
const |
|
inline |
Getter for the hasRetrievedLevelCurves flag.
- Returns
- The hasRetrievedLevelCurves flag.
Definition at line 115 of file TYIGNLevelCurvesParser.h.
◆ isXmlLoaded()
| bool TYIGNLevelCurvesParser::isXmlLoaded |
( |
| ) |
const |
|
inline |
◆ loadXmlFile()
| bool TYIGNLevelCurvesParser::loadXmlFile |
( |
const QString & |
filePath | ) |
|
◆ parseXmlData()
| void TYIGNLevelCurvesParser::parseXmlData |
( |
const OCoord3D & |
SIGCoords, |
|
|
const OBox & |
selectedZone, |
|
|
double |
scaleFactor |
|
) |
| |
◆ reset()
| void TYIGNLevelCurvesParser::reset |
( |
| ) |
|
◆ simplifyPolylines()
| size_t TYIGNLevelCurvesParser::simplifyPolylines |
( |
| ) |
|
◆ m_constraintToAltimetryInfoMap
◆ m_ct
| CT TYIGNLevelCurvesParser::m_ct |
|
private |
◆ m_hasRetrievedLevelCurves
| bool TYIGNLevelCurvesParser::m_hasRetrievedLevelCurves |
|
private |
◆ m_isXmlLoaded
| bool TYIGNLevelCurvesParser::m_isXmlLoaded |
|
private |
◆ m_xmlDocument
| QDomDocument TYIGNLevelCurvesParser::m_xmlDocument |
|
private |
The documentation for this class was generated from the following files: