OpenLexocad  27.0
OpenLxCmd::CmdCopyAlongCurve Class Reference

#include <CmdCopyAlongCurve.h>

Inheritance diagram for OpenLxCmd::CmdCopyAlongCurve:
Core::Command

Public Member Functions

 CmdCopyAlongCurve ()
 
 CmdCopyAlongCurve (std::shared_ptr< OpenLxApp::Element > aElem, std::shared_ptr< OpenLxApp::Element > aPathElem, const int &repetitions)
 
 CmdCopyAlongCurve (const std::vector< std::shared_ptr< OpenLxApp::Element >> &aElems, std::shared_ptr< OpenLxApp::Element > aPathElem, const int &repetitions)
 
 ~CmdCopyAlongCurve ()=default
 
bool redo () override
 
bool undo () override
 
std::vector< std::shared_ptr< OpenLxApp::Element > > getCopiedElements () const
 
- 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
24.0

Constructor & Destructor Documentation

◆ CmdCopyAlongCurve() [1/3]

OpenLxCmd::CmdCopyAlongCurve::CmdCopyAlongCurve ( )

◆ CmdCopyAlongCurve() [2/3]

OpenLxCmd::CmdCopyAlongCurve::CmdCopyAlongCurve ( std::shared_ptr< OpenLxApp::Element aElem,
std::shared_ptr< OpenLxApp::Element aPathElem,
const int &  repetitions 
)

◆ CmdCopyAlongCurve() [3/3]

OpenLxCmd::CmdCopyAlongCurve::CmdCopyAlongCurve ( const std::vector< std::shared_ptr< OpenLxApp::Element >> &  aElems,
std::shared_ptr< OpenLxApp::Element aPathElem,
const int &  repetitions 
)

◆ ~CmdCopyAlongCurve()

OpenLxCmd::CmdCopyAlongCurve::~CmdCopyAlongCurve ( )
default

Member Function Documentation

◆ getCopiedElements()

std::vector<std::shared_ptr<OpenLxApp::Element> > OpenLxCmd::CmdCopyAlongCurve::getCopiedElements ( ) const

◆ redo()

bool OpenLxCmd::CmdCopyAlongCurve::redo ( )
overridevirtual

Reimplemented from Core::Command.

◆ undo()

bool OpenLxCmd::CmdCopyAlongCurve::undo ( )
overridevirtual

Reimplemented from Core::Command.


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