#include <FeatureChamfer.h>
Public Member Functions | |
Chamfer () | |
virtual Base::Type | getTypeId (void) const |
methods override feature | |
App::DocumentObjectExecReturn * | execute (void) |
recalculate the feature | |
const char * | getViewProviderName (void) const |
returns the type name of the view provider | |
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::PropertyLink | Base |
PropertyFilletEdges | Edges |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 33 of file App/FeatureChamfer.h.
Chamfer::Chamfer | ( | ) |
Definition at line 45 of file App/FeatureChamfer.cpp.
References ADD_PROPERTY.
void * Part::Chamfer::create | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 43 of file App/FeatureChamfer.cpp.
App::DocumentObjectExecReturn * Chamfer::execute | ( | void | ) | [virtual] |
recalculate the feature
Reimplemented from Part::Feature.
Definition at line 59 of file App/FeatureChamfer.cpp.
References Base, Edges, Part::Feature::getClassTypeId(), App::PropertyContainer::getTypeId(), Part::PropertyPartShape::getValue(), App::PropertyLink::getValue(), Part::PropertyFilletEdges::getValues(), Base::Type::isDerivedFrom(), Part::PropertyPartShape::setValue(), Part::Feature::Shape, and App::DocumentObject::StdReturn.
Base::Type Part::Chamfer::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 43 of file App/FeatureChamfer.cpp.
const App::PropertyData & Part::Chamfer::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Feature.
Definition at line 43 of file App/FeatureChamfer.cpp.
const App::PropertyData * Part::Chamfer::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Feature.
Definition at line 43 of file App/FeatureChamfer.cpp.
Base::Type Part::Chamfer::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Feature.
Definition at line 43 of file App/FeatureChamfer.cpp.
const char* Part::Chamfer::getViewProviderName | ( | void | ) | const [inline, virtual] |
returns the type name of the view provider
Reimplemented from Part::Feature.
Definition at line 49 of file App/FeatureChamfer.h.
void Part::Chamfer::init | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 43 of file App/FeatureChamfer.cpp.
Referenced by initPart().
short Chamfer::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 52 of file App/FeatureChamfer.cpp.
References Base, Edges, and App::Property::isTouched().
Definition at line 40 of file App/FeatureChamfer.h.
Referenced by execute(), and mustExecute().
Definition at line 41 of file App/FeatureChamfer.h.
Referenced by execute(), and mustExecute().