Adds CircleEllipseConstructionMethod.

This commit is contained in:
Paddle
2023-11-03 18:45:59 +01:00
committed by abdullahtahiriyo
parent 8b1695b162
commit 71637aeec1
3 changed files with 42 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ SET(SketcherGui_SRCS
AutoConstraint.h
Utils.h
Utils.cpp
CircleEllipseConstructionMethod.h
DrawSketchHandlerLine.h
DrawSketchHandlerRectangle.h
DrawSketchHandlerPolygon.h

View 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

View File

@@ -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"