◆ SelectMode
Enumerator |
---|
STATUS_SEEK_First | |
STATUS_SEEK_Second | |
◆ DrawSketchHandlerExtend()
DrawSketchHandlerExtend::DrawSketchHandlerExtend |
( |
| ) |
|
◆ ~DrawSketchHandlerExtend()
virtual DrawSketchHandlerExtend::~DrawSketchHandlerExtend |
( |
| ) |
|
|
virtual |
◆ activated()
◆ mouseMove()
virtual void DrawSketchHandlerExtend::mouseMove |
( |
Base::Vector2d |
onSketchPos | ) |
|
|
virtual |
If in-curve, the intuitive behavior is for the line to shrink an amount from the original click-point.
If out-of-curve, the intuitive behavior is for the closest line endpoint to expand.
Implements SketcherGui::DrawSketchHandler.
References BaseGeoId, Base::Vector2d::Distance(), SketcherGui::ViewProviderSketch::drawEdit(), EditCurve, ExtendFromStart, Base::Vector2d::GetAngle(), Base::Persistence::getClassTypeId(), Part::GeomLineSegment::getEndPoint(), Sketcher::SketchObject::getGeometry(), SketcherGui::ViewProviderSketch::getPreselectCurve(), SketcherGui::ViewProviderSketch::getSketchObject(), Part::GeomLineSegment::getStartPoint(), Base::Persistence::getTypeId(), Increment, Base::Vector2d::Length(), Mode, Base::Vector2d::ProjectToLine(), SketcherGui::DrawSketchHandler::renderSuggestConstraintsCursor(), SavedExtendFromStart, SketcherGui::DrawSketchHandler::seekAutoConstraint(), SketcherGui::DrawSketchHandler::sketchgui, STATUS_SEEK_Second, SugConstr, Base::Vector2d::x, Base::Vector3< _Precision >::x, Base::Vector2d::y, and Base::Vector3< _Precision >::y.
◆ pressButton()
◆ releaseButton()
Implements SketcherGui::DrawSketchHandler.
References Gui::Command::abortCommand(), SketcherGui::DrawSketchHandler::applyCursor(), BaseGeoId, Gui::cmdAppObjectArgs(), Gui::Command::commitCommand(), Base::Console(), SketcherGui::DrawSketchHandler::createAutoConstraints(), Base::Vector2d::Distance(), SketcherGui::ViewProviderSketch::drawEdit(), EditCurve, Sketcher::end, Base::ConsoleSingleton::Error(), ExtendFromStart, filterGate, App::GetApplication(), ParameterGrp::GetBool(), Base::Persistence::getClassTypeId(), Part::GeomLineSegment::getEndPoint(), Sketcher::SketchObject::getGeometry(), Gui::ViewProviderDocumentObject::getObject(), App::Application::GetParameterGroupByPath(), SketcherGui::ViewProviderSketch::getPreselectCurve(), SketcherGui::ViewProviderSketch::getSketchObject(), Part::GeomLineSegment::getStartPoint(), Base::Persistence::getTypeId(), Increment, Mode, Gui::Command::openCommand(), SketcherGui::ViewProviderSketch::purgeHandler(), SavedExtendFromStart, SketcherGui::ExtendSelection::setDisabled(), SketcherGui::DrawSketchHandler::sketchgui, Sketcher::start, STATUS_SEEK_First, STATUS_SEEK_Second, SugConstr, Gui::Command::updateActive(), Base::Vector2d::x, Base::Vector3< _Precision >::x, Base::Vector2d::y, and Base::Vector3< _Precision >::y.
◆ BaseGeoId
int DrawSketchHandlerExtend::BaseGeoId |
|
protected |
◆ EditCurve
◆ ExtendFromStart
bool DrawSketchHandlerExtend::ExtendFromStart |
|
protected |
◆ filterGate
◆ Increment
double DrawSketchHandlerExtend::Increment |
|
protected |
◆ Mode
◆ SavedExtendFromStart
bool DrawSketchHandlerExtend::SavedExtendFromStart |
|
protected |
◆ SugConstr
The documentation for this class was generated from the following file:
- src/Mod/Sketcher/Gui/CommandCreateGeo.cpp