OpenLexocad  27.1
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 ()
 
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

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: