#include <PrimitiveFeature.h>
Public Member Functions | |
Cylinder () | |
virtual Base::Type | getTypeId (void) const |
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 | Angle |
App::PropertyLength | Height |
App::PropertyLength | Radius |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 135 of file PrimitiveFeature.h.
Cylinder::Cylinder | ( | void | ) |
Definition at line 354 of file PrimitiveFeature.cpp.
References ADD_PROPERTY_TYPE, Base::Angle, Part::angleRangeU, SketcherExample::f, App::Prop_None, and Sketcher::Radius.
void * Part::Cylinder::create | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 352 of file PrimitiveFeature.cpp.
App::DocumentObjectExecReturn * Cylinder::execute | ( | void | ) | [virtual] |
recalculate the feature
Implements Part::Primitive.
Definition at line 373 of file PrimitiveFeature.cpp.
References Angle, App::PropertyFloat::getValue(), Height, Radius, Part::PropertyPartShape::setValue(), Part::Feature::Shape, and App::DocumentObject::StdReturn.
Base::Type Part::Cylinder::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 352 of file PrimitiveFeature.cpp.
const App::PropertyData & Part::Cylinder::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Primitive.
Definition at line 352 of file PrimitiveFeature.cpp.
const App::PropertyData * Part::Cylinder::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Primitive.
Definition at line 352 of file PrimitiveFeature.cpp.
Base::Type Part::Cylinder::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Primitive.
Definition at line 352 of file PrimitiveFeature.cpp.
void Part::Cylinder::init | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 352 of file PrimitiveFeature.cpp.
Referenced by initPart().
short Cylinder::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 362 of file PrimitiveFeature.cpp.
References Angle, Height, App::Property::isTouched(), and Radius.
Definition at line 144 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 143 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 142 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().