#include <FeaturePartCircle.h>
Public Member Functions | |
Circle () | |
virtual Base::Type | getTypeId (void) const |
virtual | ~Circle () |
methods override feature | |
App::DocumentObjectExecReturn * | execute (void) |
recalculate the Feature | |
short | mustExecute () const |
mustExecute We call this method to check if the object was modified to be invoked. | |
void | onChanged (const App::Property *) |
get called by the container when a property was changed | |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Public Attributes | |
App::PropertyAngle | Angle0 |
App::PropertyAngle | Angle1 |
App::PropertyFloat | Radius |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 32 of file FeaturePartCircle.h.
Circle::Circle | ( | ) |
Definition at line 42 of file FeaturePartCircle.cpp.
References ADD_PROPERTY, SketcherExample::f, and Sketcher::Radius.
Circle::~Circle | ( | ) | [virtual] |
Definition at line 51 of file FeaturePartCircle.cpp.
void * Part::Circle::create | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 39 of file FeaturePartCircle.cpp.
App::DocumentObjectExecReturn * Circle::execute | ( | void | ) | [virtual] |
recalculate the Feature
Implements Part::Primitive.
Definition at line 64 of file FeaturePartCircle.cpp.
References Angle0, Angle1, App::PropertyFloat::getValue(), Radius, Part::PropertyPartShape::setValue(), Part::Feature::Shape, and App::DocumentObject::StdReturn.
Base::Type Part::Circle::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 39 of file FeaturePartCircle.cpp.
const App::PropertyData & Part::Circle::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Primitive.
Definition at line 39 of file FeaturePartCircle.cpp.
const App::PropertyData * Part::Circle::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Primitive.
Definition at line 39 of file FeaturePartCircle.cpp.
Base::Type Part::Circle::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Primitive.
Definition at line 39 of file FeaturePartCircle.cpp.
void Part::Circle::init | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 39 of file FeaturePartCircle.cpp.
Referenced by initPart().
short Circle::mustExecute | ( | ) | const [virtual] |
mustExecute We call this method to check if the object was modified to be invoked.
If the object label or an argument is modified. If we must recompute the object - to call the method execute(). 0: no recompution is needed 1: recompution needed -1: the document examine all links of this object and if one is touched -> recompute
Reimplemented from Part::Primitive.
Definition at line 55 of file FeaturePartCircle.cpp.
References Angle0, Angle1, App::Property::isTouched(), and Radius.
void Circle::onChanged | ( | const App::Property * | prop | ) | [virtual] |
get called by the container when a property was changed
Reimplemented from Part::Primitive.
Definition at line 77 of file FeaturePartCircle.cpp.
References Angle0, Angle1, App::DocumentObject::isRestoring(), Radius, and App::DocumentObject::recompute().
Definition at line 41 of file FeaturePartCircle.h.
Referenced by execute(), mustExecute(), and onChanged().
Definition at line 42 of file FeaturePartCircle.h.
Referenced by execute(), mustExecute(), and onChanged().
Definition at line 40 of file FeaturePartCircle.h.
Referenced by execute(), mustExecute(), and onChanged().