Adds CircleEllipseConstructionMethod.
This commit is contained in:
@@ -54,6 +54,7 @@ SET(SketcherGui_SRCS
|
||||
AutoConstraint.h
|
||||
Utils.h
|
||||
Utils.cpp
|
||||
CircleEllipseConstructionMethod.h
|
||||
DrawSketchHandlerLine.h
|
||||
DrawSketchHandlerRectangle.h
|
||||
DrawSketchHandlerPolygon.h
|
||||
|
||||
40
src/Mod/Sketcher/Gui/CircleEllipseConstructionMethod.h
Normal file
40
src/Mod/Sketcher/Gui/CircleEllipseConstructionMethod.h
Normal file
@@ -0,0 +1,40 @@
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2022 Abdullah Tahiri <abdullah.tahiri.yo@gmail.com> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
* This library is free software; you can redistribute it and/or *
|
||||
* modify it under the terms of the GNU Library General Public *
|
||||
* License as published by the Free Software Foundation; either *
|
||||
* version 2 of the License, or (at your option) any later version. *
|
||||
* *
|
||||
* This library is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
||||
* GNU Library General Public License for more details. *
|
||||
* *
|
||||
* You should have received a copy of the GNU Library General Public *
|
||||
* License along with this library; see the file COPYING.LIB. If not, *
|
||||
* write to the Free Software Foundation, Inc., 59 Temple Place, *
|
||||
* Suite 330, Boston, MA 02111-1307, USA *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
|
||||
#ifndef SKETCHERGUI_CircleEllipseConstructionMethod_H
|
||||
#define SKETCHERGUI_CircleEllipseConstructionMethod_H
|
||||
|
||||
namespace SketcherGui::ConstructionMethods
|
||||
{
|
||||
|
||||
enum class CircleEllipseConstructionMethod
|
||||
{
|
||||
Center,
|
||||
ThreeRim,
|
||||
End // Must be the last one
|
||||
};
|
||||
|
||||
} // namespace SketcherGui::ConstructionMethods
|
||||
|
||||
|
||||
#endif // SKETCHERGUI_CircleEllipseConstructionMethod_H
|
||||
@@ -44,6 +44,7 @@
|
||||
#include <Mod/Sketcher/App/Constraint.h>
|
||||
#include <Mod/Sketcher/App/SketchObject.h>
|
||||
|
||||
#include "CircleEllipseConstructionMethod.h"
|
||||
#include "GeometryCreationMode.h"
|
||||
#include "Utils.h"
|
||||
#include "ViewProviderSketch.h"
|
||||
|
||||
Reference in New Issue
Block a user