#include <PrimitiveFeature.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
Helix () | |
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::PropertyFloatConstraint | Height |
App::PropertyFloatConstraint | Pitch |
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 195 of file PrimitiveFeature.h.
Helix::Helix | ( | void | ) |
Definition at line 518 of file PrimitiveFeature.cpp.
References ADD_PROPERTY_TYPE, Base::Angle, Part::apexRange, Part::floatRange, App::Prop_None, and Sketcher::Radius.
void * Part::Helix::create | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 516 of file PrimitiveFeature.cpp.
App::DocumentObjectExecReturn * Helix::execute | ( | void | ) | [virtual] |
recalculate the feature
Implements Part::Primitive.
Definition at line 543 of file PrimitiveFeature.cpp.
References Angle, App::PropertyFloat::getValue(), Height, Part::TopoShape::makeHelix(), Pitch, Radius, Part::PropertyPartShape::setValue(), Part::Feature::Shape, and App::DocumentObject::StdReturn.
Base::Type Part::Helix::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 516 of file PrimitiveFeature.cpp.
const App::PropertyData & Part::Helix::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Primitive.
Definition at line 516 of file PrimitiveFeature.cpp.
const App::PropertyData * Part::Helix::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Primitive.
Definition at line 516 of file PrimitiveFeature.cpp.
Base::Type Part::Helix::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Primitive.
Definition at line 516 of file PrimitiveFeature.cpp.
void Part::Helix::init | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 516 of file PrimitiveFeature.cpp.
Referenced by initPart().
short Helix::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 530 of file PrimitiveFeature.cpp.
References Angle, Height, App::Property::isTouched(), Pitch, and Radius.
Definition at line 205 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 203 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 202 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 204 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().