Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GeoConvHelper Class Reference

static methods for processing the coordinates conversion for the current net More...

#include <GeoConvHelper.h>

Collaboration diagram for GeoConvHelper:
[legend]

Public Member Functions

void cartesian2geo (Position &cartesian) const
 Converts the given cartesian (shifted) position to its geo (lat/long) representation.
 
 GeoConvHelper (const std::string &proj, const Position &offset, const Boundary &orig, const Boundary &conv, double scale=1.0, double rot=0.0, bool inverse=false, bool flatten=false)
 Constructor.
 
 GeoConvHelper (OptionsCont &oc)
 Constructor based on the stored options.
 
const BoundarygetConvBoundary () const
 Returns the converted boundary.
 
const Position getOffset () const
 Returns the network offset.
 
const Position getOffsetBase () const
 Returns the network base.
 
const BoundarygetOrigBoundary () const
 Returns the original boundary.
 
const std::string & getProjString () const
 Returns the original projection definition.
 
void moveConvertedBy (double x, double y)
 Shifts the converted boundary by the given amounts.
 
bool operator!= (const GeoConvHelper &o) const
 
bool operator== (const GeoConvHelper &o) const
 
void resolveAbstractProjection ()
 init projString such as 'UTM' in loaded projection
 
void setConvBoundary (const Boundary &boundary)
 sets the converted boundary
 
bool usingGeoProjection () const
 Returns whether a transformation from geo to metric coordinates will be performed.
 
bool usingInverseGeoProjection () const
 Returns the information whether an inverse transformation will happen.
 
bool x2cartesian (Position &from, bool includeInBoundary=true)
 Converts the given coordinate into a cartesian and optionally update myConvBoundary.
 
bool x2cartesian_const (Position &from) const
 Converts the given coordinate into a cartesian using the previous initialisation.
 
 ~GeoConvHelper ()
 Destructor.
 

Static Public Member Functions

static void addProjectionOptions (OptionsCont &oc)
 Adds projection options to the given container.
 
static void computeFinal (bool lefthand=false)
 compute the location attributes which will be used for output based on the loaded location data, the given options and the transformations applied during processing
 
static const GeoConvHelpergetFinal ()
 the coordinate transformation for writing the location element and for tracking the original coordinate system
 
static GeoConvHelpergetLoaded ()
 the coordinate transformation that was loaded fron an input file
 
static GeoConvHelpergetLoadedPlain (const std::string &plainFile, const std::string &suffix=".edg.xml")
 
static int getNumLoaded ()
 
static GeoConvHelpergetProcessing ()
 the coordinate transformation to use for input conversion and processing
 
static void init (const std::string &proj, const Position &offset, const Boundary &orig, const Boundary &conv, double scale=1.0)
 Initialises the processing and the final instance using the given proj.4-definition and complete network parameter.
 
static bool init (OptionsCont &oc)
 Initialises the processing and the final instance using the given options.
 
static void resetLoaded ()
 resets loaded location elements
 
static void setLoaded (const GeoConvHelper &loaded)
 sets the coordinate transformation loaded from a location element
 
static void setLoadedPlain (const std::string &nodFile, const GeoConvHelper &loaded)
 registers the coordinate transformation as having been loaded from the given file
 
static void writeLocation (OutputDevice &into)
 writes the location element
 

Private Types

enum  ProjectionMethod {
  NONE , SIMPLE , UTM , DHDN ,
  DHDN_UTM , PROJ
}
 projection method More...
 

Private Member Functions

 GeoConvHelper (const GeoConvHelper &)=delete
 invalidated copy constructor.
 
GeoConvHelperoperator= (const GeoConvHelper &)
 make assignment operator private
 

Private Attributes

Boundary myConvBoundary
 The boundary after conversion (x2cartesian)
 
double myCos
 
bool myFlatten
 whether to discard z-data
 
double myGeoScale
 The scaling to apply to geo-coordinates.
 
Position myOffset
 The offset to apply.
 
Boundary myOrigBoundary
 The boundary before conversion (x2cartesian)
 
ProjectionMethod myProjectionMethod
 Information whether no projection shall be done.
 
std::string myProjString
 A proj options string describing the proj.4-projection to use.
 
double mySin
 The rotation to apply to geo-coordinates.
 
bool myUseInverseProjection
 Information whether inverse projection shall be used.
 

Static Private Attributes

static GeoConvHelper myFinal
 coordinate transformation to use for writing the location element and for tracking the original coordinate system
 
static GeoConvHelper myLoaded
 coordinate transformation loaded from a location element
 
static std::map< std::string, std::pair< std::string, Position > > myLoadedPlain
 the projections loaded from .nod.xml (to be re-used when loading edg.xml)
 
static int myNumLoaded = 0
 the numer of coordinate transformations loaded from location elements
 
static GeoConvHelper myProcessing
 coordinate transformation to use for input conversion and processing
 

Detailed Description

static methods for processing the coordinates conversion for the current net

Definition at line 53 of file GeoConvHelper.h.

Member Enumeration Documentation

◆ ProjectionMethod

projection method

Enumerator
NONE 
SIMPLE 
UTM 
DHDN 
DHDN_UTM 
PROJ 

Definition at line 172 of file GeoConvHelper.h.

Constructor & Destructor Documentation

◆ GeoConvHelper() [1/3]

GeoConvHelper::GeoConvHelper ( OptionsCont oc)

Constructor based on the stored options.

Parameters
[in]ocThe OptionsCont from which to read options

◆ GeoConvHelper() [2/3]

GeoConvHelper::GeoConvHelper ( const std::string &  proj,
const Position offset,
const Boundary orig,
const Boundary conv,
double  scale = 1.0,
double  rot = 0.0,
bool  inverse = false,
bool  flatten = false 
)

Constructor.

Definition at line 51 of file GeoConvHelper.cpp.

References DHDN, DHDN_UTM, myProjectionMethod, myProjString, NONE, PROJ, SIMPLE, TL, UTM, and WRITE_WARNING.

◆ ~GeoConvHelper()

GeoConvHelper::~GeoConvHelper ( )

Destructor.

Definition at line 112 of file GeoConvHelper.cpp.

◆ GeoConvHelper() [3/3]

GeoConvHelper::GeoConvHelper ( const GeoConvHelper )
privatedelete

invalidated copy constructor.

Member Function Documentation

◆ addProjectionOptions()

void GeoConvHelper::addProjectionOptions ( OptionsCont oc)
static

Adds projection options to the given container.

Parameters
[in]ocThe options container to add the options to
Todo:
let the container be retrieved

Definition at line 283 of file GeoConvHelper.cpp.

References OptionsCont::addDescription(), OptionsCont::addOptionSubTopic(), OptionsCont::addSynonyme(), OptionsCont::doRegister(), and TL.

Referenced by fillOptions(), and GNELoadThread::fillOptions().

Here is the caller graph for this function:

◆ cartesian2geo()

void GeoConvHelper::cartesian2geo ( Position cartesian) const

Converts the given cartesian (shifted) position to its geo (lat/long) representation.

Definition at line 328 of file GeoConvHelper.cpp.

References DEG2RAD, getOffsetBase(), myProjectionMethod, NONE, Position::set(), SIMPLE, Position::sub(), Position::x(), Position::y(), and Position::z().

Referenced by TraCIServerAPI_Simulation::commandPositionConversion(), LIBSUMO_NAMESPACE::Simulation::convert2D(), LIBSUMO_NAMESPACE::Simulation::convert3D(), LIBSUMO_NAMESPACE::Simulation::convertGeo(), MSPModel_JuPedSim::dumpGeometry(), MSVTypeProbe::execute(), GNEPOI::getAttribute(), GNEGeometryPointDialog::GNEGeometryPointDialog(), GNEGeometryPointDialog::onCmdChangeGeometryPoint(), GUIGLObjectPopupMenu::onCmdCopyCursorGeoPosition(), GUIGLObjectPopupMenu::onCmdCopyViewGeoBoundary(), GNEGeometryPointDialog::onCmdReset(), GUIGLObjectPopupMenu::onCmdShowCursorGeoPositionOnline(), GNEShapeFrame::processClickPOIGeo(), ROPerson::PersonTrip::saveAsXML(), ROVehicle::saveAsXML(), PCPolyContainer::saveDlrTDP(), GNEPoly::setAttribute(), MSDevice_SSM::toGeo(), NBNetBuilder::transformCoordinate(), GUISUMOAbstractView::updatePositionInformationLabel(), MSFCDExport::write(), MSEmissionExport::write(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), NIImporter_OpenDrive::writeRoadObjects(), NWWriter_XML::writeShape(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), SUMOPolygon::writeXML(), PointOfInterest::writeXML(), and x2cartesian_const().

Here is the caller graph for this function:

◆ computeFinal()

void GeoConvHelper::computeFinal ( bool  lefthand = false)
static

compute the location attributes which will be used for output based on the loaded location data, the given options and the transformations applied during processing

Definition at line 577 of file GeoConvHelper.cpp.

References Boundary::flipY(), getConvBoundary(), getOffset(), getOrigBoundary(), getProjString(), Position::mul(), myConvBoundary, myFinal, myLoaded, myNumLoaded, myOffset, myProcessing, and usingGeoProjection().

Referenced by NBNetBuilder::compute(), main(), and GNELoadThread::run().

Here is the caller graph for this function:

◆ getConvBoundary()

const Boundary & GeoConvHelper::getConvBoundary ( ) const

◆ getFinal()

static const GeoConvHelper & GeoConvHelper::getFinal ( )
inlinestatic

the coordinate transformation for writing the location element and for tracking the original coordinate system

Definition at line 103 of file GeoConvHelper.h.

References myFinal.

Referenced by ShapeHandler::addPOI(), ShapeHandler::addPoly(), MSRouteHandler::addStop(), RORouteHandler::addStop(), GNEAdditionalHandler::buildPOIGeo(), GUIGlObject::buildPositionCopyEntry(), TraCIServerAPI_Simulation::commandDistanceRequest(), TraCIServerAPI_Simulation::commandPositionConversion(), GNENet::computeAndUpdate(), LIBSUMO_NAMESPACE::Simulation::convert2D(), LIBSUMO_NAMESPACE::Simulation::convert3D(), libsumo::Helper::convertCartesianToRoadMap(), LIBSUMO_NAMESPACE::Simulation::convertGeo(), LIBSUMO_NAMESPACE::Simulation::convertRoad(), MSPModel_JuPedSim::dumpGeometry(), MSVTypeProbe::execute(), GNEPOI::getAttribute(), LIBSUMO_NAMESPACE::Simulation::getDistance2D(), LIBSUMO_NAMESPACE::Simulation::getNetBoundary(), LIBSUMO_NAMESPACE::Simulation::getParameter(), GNENet::getPopUpMenu(), GUINet::getPopUpMenu(), GNEGeometryPointDialog::GNEGeometryPointDialog(), main(), GNEGeometryPointDialog::onCmdChangeGeometryPoint(), GUIGLObjectPopupMenu::onCmdCopyCursorGeoPosition(), GUIGLObjectPopupMenu::onCmdCopyViewGeoBoundary(), GNEShapeFrame::GEOPOICreator::onCmdCreateGEOPOI(), GNEGeometryPointDialog::onCmdReset(), GNEShapeFrame::GEOPOICreator::onCmdSetCoordinates(), GNEInspectorFrame::GEOAttributesEditor::onCmdSetGEOAttribute(), GUIGLObjectPopupMenu::onCmdShowCursorGeoPositionOnline(), MapMatcher< E, L, N >::parseGeoEdges(), GNEShapeFrame::processClickPOIGeo(), GNEInspectorFrame::GEOAttributesEditor::refreshGEOAttributesEditor(), PCPolyContainer::save(), ROPerson::PersonTrip::saveAsXML(), ROVehicle::saveAsXML(), PCPolyContainer::saveDlrTDP(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNETagSelector::setCurrentTagType(), NLHandler::setLocation(), GNEInspectorFrame::GEOAttributesEditor::showGEOAttributesEditor(), GNEShapeFrame::GEOPOICreator::showGEOPOICreatorModule(), GNEMatchAttribute::showMatchAttribute(), LIBSUMO_NAMESPACE::Simulation::storeShape(), MSDevice_SSM::toGeo(), GUISUMOAbstractView::updatePositionInformationLabel(), MSFCDExport::write(), MSEmissionExport::write(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), SUMOPolygon::writeXML(), and PointOfInterest::writeXML().

◆ getLoaded()

static GeoConvHelper & GeoConvHelper::getLoaded ( )
inlinestatic

the coordinate transformation that was loaded fron an input file

Definition at line 89 of file GeoConvHelper.h.

References myLoaded.

Referenced by NBEdgeCont::ignoreFilterMatch(), NIImporter_OpenDrive::myStartElement(), NBNetBuilder::transformCoordinate(), and NIImporter_OpenDrive::writeRoadObjects().

Here is the caller graph for this function:

◆ getLoadedPlain()

GeoConvHelper * GeoConvHelper::getLoadedPlain ( const std::string &  plainFile,
const std::string &  suffix = ".edg.xml" 
)
static

Definition at line 620 of file GeoConvHelper.cpp.

References myLoadedPlain, and StringUtils::replace().

Referenced by NIXMLConnectionsHandler::myStartElement(), and NIXMLEdgesHandler::myStartElement().

Here is the caller graph for this function:

◆ getNumLoaded()

static int GeoConvHelper::getNumLoaded ( )
inlinestatic

Definition at line 93 of file GeoConvHelper.h.

References myNumLoaded.

Referenced by NIImporter_OpenDrive::myStartElement(), and NBNetBuilder::transformCoordinate().

Here is the caller graph for this function:

◆ getOffset()

const Position GeoConvHelper::getOffset ( ) const

Returns the network offset.

Definition at line 559 of file GeoConvHelper.cpp.

References myOffset.

Referenced by computeFinal(), setLoadedPlain(), and NBNetBuilder::transformCoordinate().

Here is the caller graph for this function:

◆ getOffsetBase()

const Position GeoConvHelper::getOffsetBase ( ) const

Returns the network base.

Definition at line 565 of file GeoConvHelper.cpp.

References myOffset.

Referenced by cartesian2geo(), LIBSUMO_NAMESPACE::Simulation::getParameter(), NBNodeCont::printBuiltNodesStatistics(), writeLocation(), and NWWriter_OpenDrive::writeNetwork().

Here is the caller graph for this function:

◆ getOrigBoundary()

const Boundary & GeoConvHelper::getOrigBoundary ( ) const

Returns the original boundary.

Definition at line 547 of file GeoConvHelper.cpp.

References myOrigBoundary.

Referenced by computeFinal(), NBNodeCont::printBuiltNodesStatistics(), and writeLocation().

Here is the caller graph for this function:

◆ getProcessing()

static GeoConvHelper & GeoConvHelper::getProcessing ( )
inlinestatic

the coordinate transformation to use for input conversion and processing

Note
instance is modified during use: boundary may adapt to new coordinates

Definition at line 84 of file GeoConvHelper.h.

References myProcessing.

Referenced by ShapeHandler::addPOI(), ShapeHandler::addPoly(), NGNode::buildNBNode(), GUISUMOAbstractView::checkGDALImage(), NBNetBuilder::compute(), PCLoaderOSM::convertNodePosition(), NBEdgeCont::ignoreFilterMatch(), NIImporter_ArcView::load(), PCLoaderArcView::load(), PCLoaderVisum::load(), NILoader::load(), PCLoaderOSM::loadIfSet(), PCLoaderDlrNavteq::loadPOIFile(), PCLoaderDlrNavteq::loadPolyFile(), NBNodeCont::printBuiltNodesStatistics(), and NBNetBuilder::transformCoordinate().

Here is the caller graph for this function:

◆ getProjString()

const std::string & GeoConvHelper::getProjString ( ) const

Returns the original projection definition.

Definition at line 571 of file GeoConvHelper.cpp.

References myProjString.

Referenced by computeFinal(), GNEInspectorFrame::GEOAttributesEditor::onCmdSetGEOAttribute(), GNEInspectorFrame::GEOAttributesEditor::refreshGEOAttributesEditor(), GNETagSelector::setCurrentTagType(), setLoadedPlain(), GNEMatchAttribute::showMatchAttribute(), writeLocation(), and NWWriter_OpenDrive::writeNetwork().

Here is the caller graph for this function:

◆ init() [1/2]

void GeoConvHelper::init ( const std::string &  proj,
const Position offset,
const Boundary orig,
const Boundary conv,
double  scale = 1.0 
)
static

Initialises the processing and the final instance using the given proj.4-definition and complete network parameter.

Definition at line 258 of file GeoConvHelper.cpp.

References myFinal, myProcessing, and resolveAbstractProjection().

◆ init() [2/2]

bool GeoConvHelper::init ( OptionsCont oc)
static

Initialises the processing and the final instance using the given options.

Definition at line 218 of file GeoConvHelper.cpp.

References OptionsCont::exists(), OptionsCont::getBool(), OptionsCont::getFloat(), OptionsCont::getString(), OptionsCont::isDefault(), myFinal, myProcessing, TL, and WRITE_ERROR.

Referenced by NIImporter_ArcView::load(), main(), PCNetProjectionLoader::myStartElement(), GNELoadThread::run(), NLHandler::setLocation(), and RONetHandler::setLocation().

Here is the caller graph for this function:

◆ moveConvertedBy()

void GeoConvHelper::moveConvertedBy ( double  x,
double  y 
)

Shifts the converted boundary by the given amounts.

Definition at line 540 of file GeoConvHelper.cpp.

References Position::add(), Boundary::moveby(), myConvBoundary, and myOffset.

Referenced by NBNetBuilder::moveToOrigin(), and NIImporter_OpenDrive::myStartElement().

Here is the caller graph for this function:

◆ operator!=()

bool GeoConvHelper::operator!= ( const GeoConvHelper o) const
inline

Definition at line 166 of file GeoConvHelper.h.

◆ operator=()

GeoConvHelper & GeoConvHelper::operator= ( const GeoConvHelper orig)
private

make assignment operator private

Definition at line 155 of file GeoConvHelper.cpp.

References myConvBoundary, myCos, myFlatten, myGeoScale, myOffset, myOrigBoundary, myProjectionMethod, myProjString, mySin, and myUseInverseProjection.

◆ operator==()

bool GeoConvHelper::operator== ( const GeoConvHelper o) const

◆ resetLoaded()

void GeoConvHelper::resetLoaded ( )
static

resets loaded location elements

Definition at line 632 of file GeoConvHelper.cpp.

References myLoadedPlain, and myNumLoaded.

Referenced by GNEApplicationWindow::closeAllWindows().

Here is the caller graph for this function:

◆ resolveAbstractProjection()

void GeoConvHelper::resolveAbstractProjection ( )

init projString such as 'UTM' in loaded projection

Definition at line 266 of file GeoConvHelper.cpp.

References Boundary::getCenter(), myOrigBoundary, myProjectionMethod, myProjString, NONE, SIMPLE, toString(), WRITE_WARNING, and x2cartesian().

Referenced by init(), and NIImporter_SUMO::loadLocation().

Here is the caller graph for this function:

◆ setConvBoundary()

void GeoConvHelper::setConvBoundary ( const Boundary boundary)
inline

sets the converted boundary

Definition at line 145 of file GeoConvHelper.h.

References myConvBoundary.

Referenced by NBNetBuilder::compute().

Here is the caller graph for this function:

◆ setLoaded()

void GeoConvHelper::setLoaded ( const GeoConvHelper loaded)
static

sets the coordinate transformation loaded from a location element

Definition at line 603 of file GeoConvHelper.cpp.

References myLoaded, myNumLoaded, TL, toString(), and WRITE_WARNINGF.

Referenced by NIImporter_SUMO::loadLocation(), and NIImporter_OpenDrive::myCharacters().

Here is the caller graph for this function:

◆ setLoadedPlain()

void GeoConvHelper::setLoadedPlain ( const std::string &  nodFile,
const GeoConvHelper loaded 
)
static

registers the coordinate transformation as having been loaded from the given file

Definition at line 614 of file GeoConvHelper.cpp.

References getOffset(), getProjString(), and myLoadedPlain.

Referenced by NIXMLNodesHandler::myStartElement().

Here is the caller graph for this function:

◆ usingGeoProjection()

bool GeoConvHelper::usingGeoProjection ( ) const

Returns whether a transformation from geo to metric coordinates will be performed.

Definition at line 316 of file GeoConvHelper.cpp.

References myProjectionMethod, and NONE.

Referenced by ShapeHandler::addPOI(), computeFinal(), MSVTypeProbe::execute(), PCPolyContainer::save(), ROVehicle::saveAsXML(), PCPolyContainer::saveDlrTDP(), NBNetBuilder::transformCoordinate(), NWWriter_XML::writeEdgesAndConnections(), writeLocation(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), NIImporter_OpenDrive::writeRoadObjects(), and NWWriter_DlrNavteq::writeTrafficSignals().

Here is the caller graph for this function:

◆ usingInverseGeoProjection()

bool GeoConvHelper::usingInverseGeoProjection ( ) const

Returns the information whether an inverse transformation will happen.

Definition at line 322 of file GeoConvHelper.cpp.

References myUseInverseProjection.

Referenced by NWWriter_XML::writeEdgesAndConnections(), and NWWriter_XML::writeNodes().

Here is the caller graph for this function:

◆ writeLocation()

void GeoConvHelper::writeLocation ( OutputDevice into)
static

◆ x2cartesian()

bool GeoConvHelper::x2cartesian ( Position from,
bool  includeInBoundary = true 
)

Converts the given coordinate into a cartesian and optionally update myConvBoundary.

Note
: initializes UTM / DHDN projection on first use (select zone)

Definition at line 391 of file GeoConvHelper.cpp.

References Boundary::add(), DHDN, DHDN_UTM, FALLTHROUGH, myConvBoundary, myGeoScale, myOrigBoundary, myProjectionMethod, myProjString, Position::set(), TL, toString(), UTM, WRITE_WARNING, WRITE_WARNINGF, Position::x(), x2cartesian_const(), Position::y(), and Position::z().

Referenced by ShapeHandler::addPOI(), ShapeHandler::addPoly(), NGNode::buildNBNode(), PCLoaderOSM::convertNodePosition(), PCLoaderArcView::load(), PCLoaderVisum::load(), resolveAbstractProjection(), and NBNetBuilder::transformCoordinate().

Here is the caller graph for this function:

◆ x2cartesian_const()

Field Documentation

◆ myConvBoundary

Boundary GeoConvHelper::myConvBoundary
private

The boundary after conversion (x2cartesian)

Definition at line 224 of file GeoConvHelper.h.

Referenced by computeFinal(), getConvBoundary(), moveConvertedBy(), operator=(), operator==(), setConvBoundary(), and x2cartesian().

◆ myCos

double GeoConvHelper::myCos
private

Definition at line 209 of file GeoConvHelper.h.

Referenced by operator=(), operator==(), and x2cartesian_const().

◆ myFinal

GeoConvHelper GeoConvHelper::myFinal
staticprivate

coordinate transformation to use for writing the location element and for tracking the original coordinate system

Definition at line 233 of file GeoConvHelper.h.

Referenced by computeFinal(), getFinal(), init(), init(), and writeLocation().

◆ myFlatten

bool GeoConvHelper::myFlatten
private

whether to discard z-data

Definition at line 218 of file GeoConvHelper.h.

Referenced by operator=(), operator==(), and x2cartesian_const().

◆ myGeoScale

double GeoConvHelper::myGeoScale
private

The scaling to apply to geo-coordinates.

Definition at line 205 of file GeoConvHelper.h.

Referenced by operator=(), operator==(), x2cartesian(), and x2cartesian_const().

◆ myLoaded

GeoConvHelper GeoConvHelper::myLoaded
staticprivate

coordinate transformation loaded from a location element

Definition at line 230 of file GeoConvHelper.h.

Referenced by computeFinal(), getLoaded(), and setLoaded().

◆ myLoadedPlain

std::map< std::string, std::pair< std::string, Position > > GeoConvHelper::myLoadedPlain
staticprivate

the projections loaded from .nod.xml (to be re-used when loading edg.xml)

Definition at line 239 of file GeoConvHelper.h.

Referenced by getLoadedPlain(), resetLoaded(), and setLoadedPlain().

◆ myNumLoaded

int GeoConvHelper::myNumLoaded = 0
staticprivate

the numer of coordinate transformations loaded from location elements

Definition at line 236 of file GeoConvHelper.h.

Referenced by computeFinal(), getNumLoaded(), resetLoaded(), and setLoaded().

◆ myOffset

Position GeoConvHelper::myOffset
private

The offset to apply.

Definition at line 202 of file GeoConvHelper.h.

Referenced by computeFinal(), getOffset(), getOffsetBase(), moveConvertedBy(), operator=(), operator==(), and x2cartesian_const().

◆ myOrigBoundary

Boundary GeoConvHelper::myOrigBoundary
private

The boundary before conversion (x2cartesian)

Definition at line 221 of file GeoConvHelper.h.

Referenced by getOrigBoundary(), operator=(), operator==(), resolveAbstractProjection(), and x2cartesian().

◆ myProcessing

GeoConvHelper GeoConvHelper::myProcessing
staticprivate

coordinate transformation to use for input conversion and processing

Definition at line 227 of file GeoConvHelper.h.

Referenced by computeFinal(), getProcessing(), init(), and init().

◆ myProjectionMethod

ProjectionMethod GeoConvHelper::myProjectionMethod
private

Information whether no projection shall be done.

Definition at line 212 of file GeoConvHelper.h.

Referenced by cartesian2geo(), GeoConvHelper(), operator=(), operator==(), resolveAbstractProjection(), usingGeoProjection(), x2cartesian(), and x2cartesian_const().

◆ myProjString

std::string GeoConvHelper::myProjString
private

A proj options string describing the proj.4-projection to use.

Definition at line 182 of file GeoConvHelper.h.

Referenced by GeoConvHelper(), getProjString(), operator=(), operator==(), resolveAbstractProjection(), and x2cartesian().

◆ mySin

double GeoConvHelper::mySin
private

The rotation to apply to geo-coordinates.

Definition at line 208 of file GeoConvHelper.h.

Referenced by operator=(), operator==(), and x2cartesian_const().

◆ myUseInverseProjection

bool GeoConvHelper::myUseInverseProjection
private

Information whether inverse projection shall be used.

Definition at line 215 of file GeoConvHelper.h.

Referenced by operator=(), operator==(), usingInverseGeoProjection(), and x2cartesian_const().


The documentation for this class was generated from the following files: