FreeCAD
FeaturePartCircle.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (c) 2007 Werner Mayer <wmayer[at]users.sourceforge.net> *
3  * *
4  * This file is part of the FreeCAD CAx development system. *
5  * *
6  * This library is free software; you can redistribute it and/or *
7  * modify it under the terms of the GNU Library General Public *
8  * License as published by the Free Software Foundation; either *
9  * version 2 of the License, or (at your option) any later version. *
10  * *
11  * This library is distributed in the hope that it will be useful, *
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
14  * GNU Library General Public License for more details. *
15  * *
16  * You should have received a copy of the GNU Library General Public *
17  * License along with this library; see the file COPYING.LIB. If not, *
18  * write to the Free Software Foundation, Inc., 59 Temple Place, *
19  * Suite 330, Boston, MA 02111-1307, USA *
20  * *
21  ***************************************************************************/
22 
23 
24 #ifndef PART_FEATUREPARTCIRCLE_H
25 #define PART_FEATUREPARTCIRCLE_H
26 
27 #include <App/PropertyUnits.h>
28 #include "PrimitiveFeature.h"
29 
30 namespace Part
31 {
32 class Circle : public Part::Primitive
33 {
34  PROPERTY_HEADER(Part::Circle);
35 
36 public:
37  Circle();
38  virtual ~Circle();
39 
43 
48  short mustExecute() const;
49  void onChanged(const App::Property*);
51  const char* getViewProviderName(void) const {
52  return "PartGui::ViewProviderCircleParametric";
53  }
54 
55 private:
58 };
59 
60 } //namespace Part
61 
62 #endif // PART_FEATUREPARTCIRCLE_H
App::PropertyAngle Angle0
App::PropertyAngle Angle1
const char * getViewProviderName(void) const
returns the type name of the ViewProvider
Angle property This is a property for representing angles.
void onChanged(const App::Property *)
get called by the container when a property was changed
short mustExecute() const
mustExecute We call this method to check if the object was modified to be invoked.
Base class of all properties This is the father of all properties.
Definition: Property.h:50
Length property This is a property for representing lengths.
App::DocumentObjectExecReturn * execute(void)
recalculate the Feature
Return object for feature execution.
App::PropertyLength Radius