#include <PartFeatures.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
RuledSurface () | |
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::PropertyLinkSub | Curve1 |
App::PropertyLinkSub | Curve2 |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
void | onChanged (const App::Property *prop) |
get called by the container when a property was changed | |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 33 of file PartFeatures.h.
RuledSurface::RuledSurface | ( | ) |
Definition at line 40 of file PartFeatures.cpp.
References ADD_PROPERTY_TYPE, and App::Prop_None.
void * Part::RuledSurface::create | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 38 of file PartFeatures.cpp.
App::DocumentObjectExecReturn * RuledSurface::execute | ( | void | ) | [virtual] |
recalculate the feature
Reimplemented from Part::Feature.
Definition at line 60 of file PartFeatures.cpp.
References Part::TopoShape::_Shape, Mod::PartDesign::Scripts::Gear::c1, Curve1, Curve2, Part::Feature::getClassTypeId(), Part::TopoShape::getSubShape(), App::PropertyLinkSub::getSubValues(), App::PropertyContainer::getTypeId(), Part::PropertyPartShape::getValue(), App::PropertyLinkSub::getValue(), UnitParser::if(), Base::Type::isDerivedFrom(), Part::PropertyPartShape::setValue(), Part::Feature::Shape, Mesh2Shape::shell, and App::DocumentObject::StdReturn.
Base::Type Part::RuledSurface::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 38 of file PartFeatures.cpp.
const App::PropertyData & Part::RuledSurface::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Feature.
Definition at line 38 of file PartFeatures.cpp.
const App::PropertyData * Part::RuledSurface::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Feature.
Definition at line 38 of file PartFeatures.cpp.
Base::Type Part::RuledSurface::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Feature.
Definition at line 38 of file PartFeatures.cpp.
void Part::RuledSurface::init | ( | void | ) | [static] |
Reimplemented from Part::Feature.
Definition at line 38 of file PartFeatures.cpp.
Referenced by initPart().
short RuledSurface::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 46 of file PartFeatures.cpp.
References Curve1, Curve2, and App::Property::isTouched().
void RuledSurface::onChanged | ( | const App::Property * | prop | ) | [protected, virtual] |
get called by the container when a property was changed
Reimplemented from Part::Feature.
Definition at line 55 of file PartFeatures.cpp.
Definition at line 40 of file PartFeatures.h.
Referenced by execute(), and mustExecute().
Definition at line 41 of file PartFeatures.h.
Referenced by execute(), and mustExecute().