#include <FeaturePartPolygon.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
Polygon () | |
virtual | ~Polygon () |
methods overide 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::PropertyBool | Close |
App::PropertyVectorList | Nodes |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 34 of file FeaturePartPolygon.h.
Part::Polygon::Polygon | ( | ) |
Definition at line 38 of file FeaturePartPolygon.cpp.
References ADD_PROPERTY.
Part::Polygon::~Polygon | ( | ) | [virtual] |
Definition at line 44 of file FeaturePartPolygon.cpp.
void * Part::Polygon::create | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 35 of file FeaturePartPolygon.cpp.
App::DocumentObjectExecReturn * Part::Polygon::execute | ( | void | ) | [virtual] |
recalculate the Feature
Reimplemented from Part::Feature.
Definition at line 55 of file FeaturePartPolygon.cpp.
References Close, App::PropertyBool::getValue(), App::PropertyVectorList::getValues(), Nodes, Part::PropertyPartShape::setValue(), Part::Feature::Shape, and App::DocumentObject::StdReturn.
Base::Type Part::Polygon::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 35 of file FeaturePartPolygon.cpp.
const App::PropertyData & Part::Polygon::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Feature.
Definition at line 35 of file FeaturePartPolygon.cpp.
const App::PropertyData * Part::Polygon::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Feature.
Definition at line 35 of file FeaturePartPolygon.cpp.
Base::Type Part::Polygon::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Feature.
Definition at line 35 of file FeaturePartPolygon.cpp.
void Part::Polygon::init | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 35 of file FeaturePartPolygon.cpp.
Referenced by initPart().
short Part::Polygon::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::Feature.
Definition at line 48 of file FeaturePartPolygon.cpp.
References Close, App::Property::isTouched(), and Nodes.
Definition at line 43 of file FeaturePartPolygon.h.
Referenced by execute(), and mustExecute().
Definition at line 42 of file FeaturePartPolygon.h.
Referenced by execute(), and mustExecute().