#include <PrimitiveFeature.h>
Public Member Functions | |
Cone () | |
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 | Radius1 |
App::PropertyLength | Radius2 |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 154 of file PrimitiveFeature.h.
Cone::Cone | ( | void | ) |
Definition at line 397 of file PrimitiveFeature.cpp.
References ADD_PROPERTY_TYPE, Base::Angle, Part::angleRangeU, and App::Prop_None.
void * Part::Cone::create | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 395 of file PrimitiveFeature.cpp.
App::DocumentObjectExecReturn * Cone::execute | ( | void | ) | [virtual] |
recalculate the feature
Implements Part::Primitive.
Definition at line 419 of file PrimitiveFeature.cpp.
References Angle, App::PropertyFloat::getValue(), Height, Radius1, Radius2, Part::PropertyPartShape::setValue(), Part::Feature::Shape, and App::DocumentObject::StdReturn.
Base::Type Part::Cone::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 395 of file PrimitiveFeature.cpp.
const App::PropertyData & Part::Cone::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Primitive.
Definition at line 395 of file PrimitiveFeature.cpp.
const App::PropertyData * Part::Cone::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Primitive.
Definition at line 395 of file PrimitiveFeature.cpp.
Base::Type Part::Cone::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Primitive.
Definition at line 395 of file PrimitiveFeature.cpp.
void Part::Cone::init | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 395 of file PrimitiveFeature.cpp.
Referenced by initPart().
short Cone::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 406 of file PrimitiveFeature.cpp.
References Angle, Height, App::Property::isTouched(), Radius1, and Radius2.
Definition at line 164 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 163 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 161 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 162 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().