#include <PrimitiveFeature.h>
Public Member Functions | |
| virtual Base::Type | getTypeId (void) const |
| Plane () | |
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::PropertyLength | Length |
| App::PropertyLength | Width |
Protected Member Functions | |
| virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
| static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 73 of file PrimitiveFeature.h.
| Plane::Plane | ( | ) |
Definition at line 167 of file PrimitiveFeature.cpp.
References ADD_PROPERTY_TYPE, SketcherExample::f, Base::Length, and App::Prop_None.
| void * Part::Plane::create | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 165 of file PrimitiveFeature.cpp.
| App::DocumentObjectExecReturn * Plane::execute | ( | void | ) | [virtual] |
recalculate the feature
Implements Part::Primitive.
Definition at line 181 of file PrimitiveFeature.cpp.
References draftlibs::dxfReader::error(), App::PropertyFloat::getValue(), Length, Part::PropertyPartShape::setValue(), Part::Feature::Shape, App::DocumentObject::StdReturn, and Width.
| Base::Type Part::Plane::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 165 of file PrimitiveFeature.cpp.
| const App::PropertyData & Part::Plane::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Primitive.
Definition at line 165 of file PrimitiveFeature.cpp.
| const App::PropertyData * Part::Plane::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Primitive.
Definition at line 165 of file PrimitiveFeature.cpp.
| Base::Type Part::Plane::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Primitive.
Definition at line 165 of file PrimitiveFeature.cpp.
| void Part::Plane::init | ( | void | ) | [static] |
Reimplemented from Part::Primitive.
Definition at line 165 of file PrimitiveFeature.cpp.
Referenced by initPart().
| short Plane::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 173 of file PrimitiveFeature.cpp.
References App::Property::isTouched(), Length, and Width.
Definition at line 80 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
Definition at line 81 of file PrimitiveFeature.h.
Referenced by execute(), and mustExecute().
1.6.1