#include <FeatureFace.h>
Public Member Functions | |
Face () | |
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::PropertyLinkList | Sources |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
TopoDS_Shape | makeFace (std::list< TopoDS_Wire > &) const |
TopoDS_Shape | makeFace (const std::vector< TopoDS_Wire > &) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 32 of file FeatureFace.h.
Face::Face | ( | ) |
Definition at line 55 of file FeatureFace.cpp.
References ADD_PROPERTY.
void * PartDesign::Face::create | ( | void | ) | [static] |
Reimplemented from Part::Part2DObject.
Definition at line 53 of file FeatureFace.cpp.
App::DocumentObjectExecReturn * Face::execute | ( | void | ) | [virtual] |
recalculate the feature
Reimplemented from Part::Part2DObject.
Definition at line 68 of file FeatureFace.cpp.
References draftlibs::dxfLibrary::copy, Part::Part2DObject::getClassTypeId(), App::PropertyLinkList::getValues(), makeFace(), Part::Feature::Shape, Sources, App::DocumentObject::StdReturn, and Mesh2Shape::wires.
Base::Type PartDesign::Face::getClassTypeId | ( | void | ) | [static] |
Reimplemented from Part::Part2DObject.
Definition at line 53 of file FeatureFace.cpp.
const App::PropertyData & PartDesign::Face::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from Part::Part2DObject.
Definition at line 53 of file FeatureFace.cpp.
const App::PropertyData * PartDesign::Face::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from Part::Part2DObject.
Definition at line 53 of file FeatureFace.cpp.
Base::Type PartDesign::Face::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from Part::Part2DObject.
Definition at line 53 of file FeatureFace.cpp.
void PartDesign::Face::init | ( | void | ) | [static] |
Reimplemented from Part::Part2DObject.
Definition at line 53 of file FeatureFace.cpp.
Referenced by initPartDesign().
TopoDS_Shape Face::makeFace | ( | std::list< TopoDS_Wire > & | wires | ) | const [protected] |
Definition at line 127 of file FeatureFace.cpp.
TopoDS_Shape Face::makeFace | ( | const std::vector< TopoDS_Wire > & | w | ) | const [protected] |
Definition at line 157 of file FeatureFace.cpp.
References KDL::Add(), and Mesh2Shape::wires.
Referenced by execute().
short Face::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 61 of file FeatureFace.cpp.
References App::Property::isTouched(), and Sources.
Definition at line 39 of file FeatureFace.h.
Referenced by execute(), and mustExecute().