OpenLexocad  27.0
OpenLxCmd::CmdAddCentroid Class Reference

#include <CmdAddCentroid.h>

Inheritance diagram for OpenLxCmd::CmdAddCentroid:
Core::Command

Public Member Functions

 CmdAddCentroid ()
 
 CmdAddCentroid (std::shared_ptr< OpenLxApp::Element > curveElement)
 
 CmdAddCentroid (const std::vector< std::shared_ptr< OpenLxApp::Element >> &aElems)
 
 ~CmdAddCentroid ()=default
 
bool redo () override
 
bool undo () override
 
- Public Member Functions inherited from Core::Command
 Command (void)
 
virtual ~Command (void)
 
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 onoff)
 
bool isInSilentMode () const
 

Detailed Description

Since
26.0

Constructor & Destructor Documentation

◆ CmdAddCentroid() [1/3]

OpenLxCmd::CmdAddCentroid::CmdAddCentroid ( )

◆ CmdAddCentroid() [2/3]

OpenLxCmd::CmdAddCentroid::CmdAddCentroid ( std::shared_ptr< OpenLxApp::Element curveElement)
explicit

◆ CmdAddCentroid() [3/3]

OpenLxCmd::CmdAddCentroid::CmdAddCentroid ( const std::vector< std::shared_ptr< OpenLxApp::Element >> &  aElems)
explicit

◆ ~CmdAddCentroid()

OpenLxCmd::CmdAddCentroid::~CmdAddCentroid ( )
default

Member Function Documentation

◆ redo()

bool OpenLxCmd::CmdAddCentroid::redo ( )
overridevirtual

Reimplemented from Core::Command.

◆ undo()

bool OpenLxCmd::CmdAddCentroid::undo ( )
overridevirtual

Reimplemented from Core::Command.


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