OpenLexocad  27.1
OpenLxCmd::CmdSetGlobalPositioning Class Reference

This Command creates/updates the "Global Positioning" structures introduced with IFC4. The "projection" data are obtained through an internet connection to the site http://epsg.io in json format. More...

#include <CmdSetGlobalPositioning.h>

Inheritance diagram for OpenLxCmd::CmdSetGlobalPositioning:
Core::Command

Public Member Functions

 CmdSetGlobalPositioning (std::shared_ptr< OpenLxApp::Document > document, const Base::String &epsgCode, double eastings, double northings, double orthogonalHeight)
 
 ~CmdSetGlobalPositioning ()
 
bool redo () override
 
bool undo () override
 
- Public Member Functions inherited from Core::Command
 Command ()
 
virtual ~Command ()
 
virtual void serialize (std::ostream &, const unsigned int)
 
Base::String getDescription () const
 
void setDescription (const Base::String &s)
 
void setParameter (const std::string &key, const Core::Variant &value)
 
bool getParameter (const std::string &key, Core::Variant &value) const
 
void setSilentMode (bool on)
 
bool isInSilentMode () const
 
void setDoRecomputeInRedo (bool on)
 
void setDoRecomputeInUndo (bool on)
 
bool getDoRecomputeInRedo () const
 
bool getDoRecomputeInUndo () const
 
void setDone (bool yes)
 
bool isDone () const
 

Detailed Description

This Command creates/updates the "Global Positioning" structures introduced with IFC4. The "projection" data are obtained through an internet connection to the site http://epsg.io in json format.

Since
26.0

Constructor & Destructor Documentation

◆ CmdSetGlobalPositioning()

OpenLxCmd::CmdSetGlobalPositioning::CmdSetGlobalPositioning ( std::shared_ptr< OpenLxApp::Document document,
const Base::String epsgCode,
double  eastings,
double  northings,
double  orthogonalHeight 
)

◆ ~CmdSetGlobalPositioning()

OpenLxCmd::CmdSetGlobalPositioning::~CmdSetGlobalPositioning ( )

Member Function Documentation

◆ redo()

bool OpenLxCmd::CmdSetGlobalPositioning::redo ( )
overridevirtual

Reimplemented from Core::Command.

◆ undo()

bool OpenLxCmd::CmdSetGlobalPositioning::undo ( )
overridevirtual

Reimplemented from Core::Command.


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