#include <PrimitiveFeature.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
Sphere () | |
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. | |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Public Attributes | |
App::PropertyFloatConstraint | Angle1 |
App::PropertyFloatConstraint | Angle2 |
App::PropertyFloatConstraint | Angle3 |
App::PropertyFloatConstraint | Radius |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 91 of file PrimitiveFeature.h.
Sphere::Sphere | ( | void | ) |
Definition at line 234 of file PrimitiveFeature.cpp.
References ADD_PROPERTY_TYPE, Part::angleRangeU, Part::angleRangeV, SketcherExample::f, Part::floatRange, App::Prop_None, and Sketcher::Radius.
void * Part::Sphere::create | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 232 of file PrimitiveFeature.cpp.
App::DocumentObjectExecReturn * Sphere::execute | ( | void | ) | [virtual] |
recalculate the feature
Implements Part::Primitive.
Definition at line 259 of file PrimitiveFeature.cpp.
References Angle1, Angle2, Angle3, App::PropertyFloat::getValue(), Radius, Part::PropertyPartShape::setValue(), Part::Feature::Shape, and App::DocumentObject::StdReturn.
Base::Type Part::Sphere::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 232 of file PrimitiveFeature.cpp.
const App::PropertyData & Part::Sphere::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Primitive.
Definition at line 232 of file PrimitiveFeature.cpp.
const App::PropertyData * Part::Sphere::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Primitive.
Definition at line 232 of file PrimitiveFeature.cpp.
Base::Type Part::Sphere::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Primitive.
Definition at line 232 of file PrimitiveFeature.cpp.
void Part::Sphere::init | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 232 of file PrimitiveFeature.cpp.
Referenced by initPart().
short Sphere::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 246 of file PrimitiveFeature.cpp.
References Angle1, Angle2, Angle3, App::Property::isTouched(), and Radius.
Definition at line 99 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 100 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 101 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 98 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().