refactor: Adopt gp_Ax2 for sketch plane and geometry definition
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
#define APPLICATIONCONTROLLER_H
|
||||
|
||||
#include <QObject>
|
||||
#include "ViewportWidget.h" // For SketchPlane enum
|
||||
#include <gp_Pnt.hxx>
|
||||
#include <gp_Ax2.hxx>
|
||||
|
||||
class Document;
|
||||
class MainWindow;
|
||||
@@ -47,12 +47,12 @@ public slots:
|
||||
bool saveDocumentAs();
|
||||
|
||||
void beginSketchCreation();
|
||||
void onPlaneSelected(ViewportWidget::SketchPlane plane);
|
||||
void onPlaneSelected(const gp_Ax2& plane);
|
||||
void endSketch();
|
||||
|
||||
signals:
|
||||
void planeSelectionModeStarted();
|
||||
void sketchModeStarted(ViewportWidget::SketchPlane plane);
|
||||
void sketchModeStarted(const gp_Ax2& plane);
|
||||
void sketchModeEnded();
|
||||
void currentFileChanged(const QString& path);
|
||||
void activeToolChanged(ToolType tool);
|
||||
|
||||
Reference in New Issue
Block a user