#include <FeatureSketchBased.h>
Public Member Functions | |
virtual Base::Type | getTypeId (void) const |
SketchBased () | |
Static Public Member Functions | |
static void * | create (void) |
static Base::Type | getClassTypeId (void) |
static void | init (void) |
Public Attributes | |
App::PropertyLink | Sketch |
Protected Member Functions | |
virtual const App::PropertyData & | getPropertyData (void) const |
bool | isInside (const TopoDS_Wire &, const TopoDS_Wire &) const |
TopoDS_Shape | makeFace (std::list< TopoDS_Wire > &) const |
TopoDS_Shape | makeFace (const std::vector< TopoDS_Wire > &) const |
TopoDS_Face | validateFace (const TopoDS_Face &) const |
Static Protected Member Functions | |
static const App::PropertyData * | getPropertyDataPtr (void) |
Definition at line 36 of file FeatureSketchBased.h.
PartDesign::SketchBased::SketchBased | ( | ) |
Definition at line 75 of file FeatureSketchBased.cpp.
References ADD_PROPERTY.
void * PartDesign::SketchBased::create | ( | void | ) | [static] |
Reimplemented from PartDesign::Feature.
Reimplemented in PartDesign::Additive, PartDesign::Hole, PartDesign::Pad, PartDesign::Pocket, PartDesign::Revolution, and PartDesign::Subtractive.
Definition at line 73 of file FeatureSketchBased.cpp.
Base::Type PartDesign::SketchBased::getClassTypeId | ( | void | ) | [static] |
Reimplemented from PartDesign::Feature.
Reimplemented in PartDesign::Additive, PartDesign::Hole, PartDesign::Pad, PartDesign::Pocket, PartDesign::Revolution, and PartDesign::Subtractive.
Definition at line 73 of file FeatureSketchBased.cpp.
const App::PropertyData & PartDesign::SketchBased::getPropertyData | ( | void | ) | const [protected, virtual] |
Reimplemented from PartDesign::Feature.
Reimplemented in PartDesign::Additive, PartDesign::Hole, PartDesign::Pad, PartDesign::Pocket, PartDesign::Revolution, and PartDesign::Subtractive.
Definition at line 73 of file FeatureSketchBased.cpp.
const App::PropertyData * PartDesign::SketchBased::getPropertyDataPtr | ( | void | ) | [static, protected] |
Reimplemented from PartDesign::Feature.
Reimplemented in PartDesign::Additive, PartDesign::Hole, PartDesign::Pad, PartDesign::Pocket, PartDesign::Revolution, and PartDesign::Subtractive.
Definition at line 73 of file FeatureSketchBased.cpp.
Base::Type PartDesign::SketchBased::getTypeId | ( | void | ) | const [virtual] |
Reimplemented from PartDesign::Feature.
Reimplemented in PartDesign::Additive, PartDesign::Hole, PartDesign::Pad, PartDesign::Pocket, PartDesign::Revolution, and PartDesign::Subtractive.
Definition at line 73 of file FeatureSketchBased.cpp.
void PartDesign::SketchBased::init | ( | void | ) | [static] |
Reimplemented from PartDesign::Feature.
Reimplemented in PartDesign::Additive, PartDesign::Hole, PartDesign::Pad, PartDesign::Pocket, PartDesign::Revolution, and PartDesign::Subtractive.
Definition at line 73 of file FeatureSketchBased.cpp.
Referenced by initPartDesign().
bool PartDesign::SketchBased::isInside | ( | const TopoDS_Wire & | wire1, | |
const TopoDS_Wire & | wire2 | |||
) | const [protected] |
Definition at line 80 of file FeatureSketchBased.cpp.
References KDL::Add(), draftTools::p, importDXF::prec(), and validateFace().
Referenced by makeFace().
TopoDS_Shape PartDesign::SketchBased::makeFace | ( | std::list< TopoDS_Wire > & | wires | ) | const [protected] |
Definition at line 159 of file FeatureSketchBased.cpp.
References validateFace().
TopoDS_Shape PartDesign::SketchBased::makeFace | ( | const std::vector< TopoDS_Wire > & | w | ) | const [protected] |
Definition at line 191 of file FeatureSketchBased.cpp.
References isInside(), and Mesh2Shape::wires.
Referenced by PartDesign::Revolution::execute(), PartDesign::Pocket::execute(), and PartDesign::Pad::execute().
TopoDS_Face PartDesign::SketchBased::validateFace | ( | const TopoDS_Face & | face | ) | const [protected] |
Definition at line 119 of file FeatureSketchBased.cpp.
Referenced by isInside(), and makeFace().
Definition at line 43 of file FeatureSketchBased.h.
Referenced by PartDesign::Revolution::execute(), PartDesign::Pocket::execute(), PartDesign::Pad::execute(), PartDesign::Revolution::mustExecute(), PartDesign::Pocket::mustExecute(), PartDesign::Pad::mustExecute(), PartDesignGui::ViewProviderRevolution::onDelete(), PartDesignGui::ViewProviderPocket::onDelete(), PartDesignGui::ViewProviderPad::onDelete(), PartDesignGui::TaskDlgRevolutionParameters::reject(), PartDesignGui::TaskDlgPocketParameters::reject(), PartDesignGui::TaskDlgPadParameters::reject(), and PartDesignGui::TaskPadParameters::TaskPadParameters().