OpenLexocad  27.0
OpenLxCmd::CmdBooleanCut Class Reference

Cuts one or more Element into the given Element. More...

#include <CmdBooleanCut.h>

Inheritance diagram for OpenLxCmd::CmdBooleanCut:
Core::Command

Public Member Functions

 CmdBooleanCut (const std::vector< std::shared_ptr< OpenLxApp::Element >> &hardElements, std::shared_ptr< OpenLxApp::Element > softElement)
 
 CmdBooleanCut (std::shared_ptr< OpenLxApp::Element > hardElement, std::shared_ptr< OpenLxApp::Element > softElement)
 
 ~CmdBooleanCut ()
 
bool redo () override
 
bool undo () override
 
std::vector< std::shared_ptr< OpenLxApp::Element > > getElements () 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

Cuts one or more Element into the given Element.

Since
26.0

Constructor & Destructor Documentation

◆ CmdBooleanCut() [1/2]

OpenLxCmd::CmdBooleanCut::CmdBooleanCut ( const std::vector< std::shared_ptr< OpenLxApp::Element >> &  hardElements,
std::shared_ptr< OpenLxApp::Element softElement 
)

◆ CmdBooleanCut() [2/2]

OpenLxCmd::CmdBooleanCut::CmdBooleanCut ( std::shared_ptr< OpenLxApp::Element hardElement,
std::shared_ptr< OpenLxApp::Element softElement 
)

◆ ~CmdBooleanCut()

OpenLxCmd::CmdBooleanCut::~CmdBooleanCut ( )

Member Function Documentation

◆ getElements()

std::vector<std::shared_ptr<OpenLxApp::Element> > OpenLxCmd::CmdBooleanCut::getElements ( ) const

◆ redo()

bool OpenLxCmd::CmdBooleanCut::redo ( )
overridevirtual

Reimplemented from Core::Command.

◆ undo()

bool OpenLxCmd::CmdBooleanCut::undo ( )
overridevirtual

Reimplemented from Core::Command.


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