PartDesign::Feature Class Reference

PartDesign feature Base class of all PartDesign features. More...

#include <Feature.h>

Inheritance diagram for PartDesign::Feature:
Part::Feature App::GeoFeature App::DocumentObject App::PropertyContainer Base::Persistence Base::BaseClass PartDesign::DressUp PartDesign::MainPart PartDesign::PatternRectangular PartDesign::SketchBased PartDesign::Chamfer PartDesign::Fillet PartDesign::Additive PartDesign::Revolution PartDesign::Subtractive PartDesign::Pad PartDesign::Hole PartDesign::Pocket

List of all members.

Public Member Functions

 Feature ()
 Constructor.
virtual Base::Type getTypeId (void) const

Static Public Member Functions

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

Protected Member Functions

virtual const App::PropertyDatagetPropertyData (void) const
TopoDS_Shape getSolid (const TopoDS_Shape &) const
 Get a solid of the given shape.

Static Protected Member Functions

static const App::PropertyDatagetPropertyDataPtr (void)

Detailed Description

PartDesign feature Base class of all PartDesign features.

This kind of features only produce solids or fail.

Definition at line 39 of file Feature.h.


Constructor & Destructor Documentation

PartDesign::Feature::Feature ( void   ) 

Constructor.

Reimplemented from Part::Feature.

Definition at line 41 of file Feature.cpp.


Member Function Documentation

void * PartDesign::Feature::create ( void   )  [static]
Base::Type PartDesign::Feature::getClassTypeId ( void   )  [static]
const App::PropertyData & PartDesign::Feature::getPropertyData ( void   )  const [protected, virtual]
const App::PropertyData * PartDesign::Feature::getPropertyDataPtr ( void   )  [static, protected]
TopoDS_Shape PartDesign::Feature::getSolid ( const TopoDS_Shape &  shape  )  const [protected]

Get a solid of the given shape.

If no solid is found an exception is raised.

Definition at line 45 of file Feature.cpp.

Referenced by PartDesign::Pocket::execute(), and PartDesign::Pad::execute().

Base::Type PartDesign::Feature::getTypeId ( void   )  const [virtual]
void PartDesign::Feature::init ( void   )  [static]

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

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