Part::Circle Class Reference

#include <FeaturePartCircle.h>

Inheritance diagram for Part::Circle:
Part::Primitive Part::Feature App::GeoFeature App::DocumentObject App::PropertyContainer Base::Persistence Base::BaseClass

List of all members.

Public Member Functions

 Circle ()
virtual Base::Type getTypeId (void) const
virtual ~Circle ()
methods override feature



App::DocumentObjectExecReturnexecute (void)
 recalculate the Feature
short mustExecute () const
 mustExecute We call this method to check if the object was modified to be invoked.
void onChanged (const App::Property *)
 get called by the container when a property was changed

Static Public Member Functions

static void * create (void)
static Base::Type getClassTypeId (void)
static void init (void)

Public Attributes

App::PropertyAngle Angle0
App::PropertyAngle Angle1
App::PropertyFloat Radius

Protected Member Functions

virtual const App::PropertyDatagetPropertyData (void) const

Static Protected Member Functions

static const App::PropertyDatagetPropertyDataPtr (void)

Detailed Description

Definition at line 32 of file FeaturePartCircle.h.


Constructor & Destructor Documentation

Circle::Circle (  ) 

Definition at line 42 of file FeaturePartCircle.cpp.

References ADD_PROPERTY, SketcherExample::f, and Sketcher::Radius.

Circle::~Circle (  )  [virtual]

Definition at line 51 of file FeaturePartCircle.cpp.


Member Function Documentation

void * Part::Circle::create ( void   )  [static]

Reimplemented from Part::Primitive.

Definition at line 39 of file FeaturePartCircle.cpp.

App::DocumentObjectExecReturn * Circle::execute ( void   )  [virtual]
Base::Type Part::Circle::getClassTypeId ( void   )  [static]

Reimplemented from Part::Primitive.

Definition at line 39 of file FeaturePartCircle.cpp.

const App::PropertyData & Part::Circle::getPropertyData ( void   )  const [protected, virtual]

Reimplemented from Part::Primitive.

Definition at line 39 of file FeaturePartCircle.cpp.

const App::PropertyData * Part::Circle::getPropertyDataPtr ( void   )  [static, protected]

Reimplemented from Part::Primitive.

Definition at line 39 of file FeaturePartCircle.cpp.

Base::Type Part::Circle::getTypeId ( void   )  const [virtual]

Reimplemented from Part::Primitive.

Definition at line 39 of file FeaturePartCircle.cpp.

void Part::Circle::init ( void   )  [static]

Reimplemented from Part::Primitive.

Definition at line 39 of file FeaturePartCircle.cpp.

Referenced by initPart().

short Circle::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 55 of file FeaturePartCircle.cpp.

References Angle0, Angle1, App::Property::isTouched(), and Radius.

void Circle::onChanged ( const App::Property prop  )  [virtual]

get called by the container when a property was changed

Reimplemented from Part::Primitive.

Definition at line 77 of file FeaturePartCircle.cpp.

References Angle0, Angle1, App::DocumentObject::isRestoring(), Radius, and App::DocumentObject::recompute().


Member Data Documentation

Definition at line 41 of file FeaturePartCircle.h.

Referenced by execute(), mustExecute(), and onChanged().

Definition at line 42 of file FeaturePartCircle.h.

Referenced by execute(), mustExecute(), and onChanged().

Definition at line 40 of file FeaturePartCircle.h.

Referenced by execute(), mustExecute(), and onChanged().


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:02:32 2011 for FreeCAD by  doxygen 1.6.1