◆ SelectMode
mode table
Enumerator |
---|
STATUS_SEEK_First | enum value -—.
|
STATUS_SEEK_Second | enum value -—.
|
STATUS_End | |
◆ DrawSketchHandlerRegularPolygon()
DrawSketchHandlerRegularPolygon::DrawSketchHandlerRegularPolygon |
( |
size_t |
nof_corners | ) |
|
◆ ~DrawSketchHandlerRegularPolygon()
virtual DrawSketchHandlerRegularPolygon::~DrawSketchHandlerRegularPolygon |
( |
| ) |
|
|
virtual |
◆ activated()
◆ mouseMove()
virtual void DrawSketchHandlerRegularPolygon::mouseMove |
( |
Base::Vector2d |
onSketchPos | ) |
|
|
virtual |
Implements SketcherGui::DrawSketchHandler.
References SketcherGui::DrawSketchHandler::applyCursor(), Corners, cos_v, SketcherGui::ViewProviderSketch::drawEdit(), EditCurve, Base::Vector2d::Length(), Mode, SketcherGui::DrawSketchHandler::renderSuggestConstraintsCursor(), SketcherGui::DrawSketchHandler::seekAutoConstraint(), SketcherGui::DrawSketchHandler::setPositionText(), sin_v, SketcherGui::DrawSketchHandler::sketchgui, StartPos, STATUS_SEEK_First, STATUS_SEEK_Second, sugConstr1, sugConstr2, Base::Vector2d::x, and Base::Vector2d::y.
◆ pressButton()
◆ releaseButton()
Implements SketcherGui::DrawSketchHandler.
References Gui::Command::abortCommand(), SketcherGui::DrawSketchHandler::applyCursor(), Gui::Command::commitCommand(), Base::Console(), SketcherGui::Construction, Corners, SketcherGui::DrawSketchHandler::createAutoConstraints(), Gui::Command::Doc, SketcherGui::ViewProviderSketch::drawEdit(), EditCurve, Sketcher::end, Base::ConsoleSingleton::Error(), SketcherGui::geometryCreationMode, App::GetApplication(), ParameterGrp::GetBool(), SketcherGui::DrawSketchHandler::getHighestCurveIndex(), Gui::ViewProviderDocumentObject::getObject(), Gui::Command::getObjectCmd(), App::Application::GetParameterGroupByPath(), Sketcher::mid, Mode, Gui::Command::openCommand(), SketcherGui::ViewProviderSketch::purgeHandler(), SketcherGui::DrawSketchHandler::resetPositionText(), SketcherGui::DrawSketchHandler::sketchgui, StartPos, STATUS_End, STATUS_SEEK_First, sugConstr1, sugConstr2, SketcherGui::tryAutoRecompute(), SketcherGui::tryAutoRecomputeIfNotSolve(), SketcherGui::DrawSketchHandler::unsetCursor(), Base::Vector2d::x, and Base::Vector2d::y.
◆ AngleOfSeparation
const double DrawSketchHandlerRegularPolygon::AngleOfSeparation |
|
protected |
◆ Corners
const size_t DrawSketchHandlerRegularPolygon::Corners |
|
protected |
◆ cos_v
const double DrawSketchHandlerRegularPolygon::cos_v |
|
protected |
◆ EditCurve
std::vector<Base::Vector2d> DrawSketchHandlerRegularPolygon::EditCurve |
|
protected |
◆ Mode
◆ sin_v
const double DrawSketchHandlerRegularPolygon::sin_v |
|
protected |
◆ StartPos
◆ sugConstr1
std::vector<AutoConstraint> DrawSketchHandlerRegularPolygon::sugConstr1 |
|
protected |
◆ sugConstr2
std::vector<AutoConstraint> DrawSketchHandlerRegularPolygon::sugConstr2 |
|
protected |
The documentation for this class was generated from the following file:
- src/Mod/Sketcher/Gui/CommandCreateGeo.cpp