Public Member Functions | |
virtual const char * | className () const |
The C++ class name is needed as context for the translation framework. | |
CmdSketcherConstrainAngle () | |
virtual | ~CmdSketcherConstrainAngle () |
Protected Member Functions | |
virtual void | activated (int iMsg) |
Methods which gets called when activated, needs to be reimplemented! | |
virtual bool | isActive (void) |
Overite this method if your Cmd is not always active. |
Definition at line 1364 of file CommandConstraints.cpp.
CmdSketcherConstrainAngle::CmdSketcherConstrainAngle | ( | ) |
Definition at line 1366 of file CommandConstraints.cpp.
References Gui::Command::eType, Gui::Command::ForEdit, Gui::CommandBase::sAccel, Gui::Command::sAppModule, Gui::Command::sGroup, Gui::CommandBase::sMenuText, Gui::CommandBase::sPixmap, Gui::CommandBase::sStatusTip, Gui::CommandBase::sToolTipText, and Gui::CommandBase::sWhatsThis.
virtual CmdSketcherConstrainAngle::~CmdSketcherConstrainAngle | ( | ) | [inline, virtual] |
Definition at line 1364 of file CommandConstraints.cpp.
void CmdSketcherConstrainAngle::activated | ( | int | iMsg | ) | [protected, virtual] |
Methods which gets called when activated, needs to be reimplemented!
Implements Gui::Command.
Definition at line 1380 of file CommandConstraints.cpp.
References KDL::atan2(), Gui::SelectionSingleton::clearSelection(), Gui::Command::commitCommand(), Gui::Command::Doc, Gui::Command::doCommand(), SketcherGui::ViewProviderSketch::draw(), Sketcher::end, Sketcher::SketchObject::Geometry, Gui::Command::getActiveGuiDocument(), SketcherGui::ViewProviderSketch::getClassTypeId(), Part::GeomLineSegment::getClassTypeId(), Part::GeomLineSegment::getEndPoint(), Gui::Document::getInEdit(), Gui::getMainWindow(), SketcherGui::ViewProviderSketch::getScaleFactor(), Gui::Command::getSelection(), Gui::SelectionSingleton::getSelectionEx(), Part::GeomLineSegment::getStartPoint(), Part::Geometry::getTypeId(), Part::PropertyGeometryList::getValues(), Sketcher::Constraint::LabelDistance, Base::Length, Gui::Command::openCommand(), Sketcher::start, boost::numeric::bindings::atlas::swap(), updateDatumDistance(), Base::Vector3< _Precision >::x, and Base::Vector3< _Precision >::y.
virtual const char* CmdSketcherConstrainAngle::className | ( | ) | const [inline, virtual] |
The C++ class name is needed as context for the translation framework.
Implements Gui::CommandBase.
Definition at line 1364 of file CommandConstraints.cpp.
bool CmdSketcherConstrainAngle::isActive | ( | void | ) | [protected, virtual] |
Overite this method if your Cmd is not always active.
Reimplemented from Gui::Command.
Definition at line 1504 of file CommandConstraints.cpp.
References Gui::Command::getActiveGuiDocument(), and isCreateConstraintActive().