Share code for finding a body containing a feature
This commit is contained in:
committed by
Stefan Tröger
parent
16e4ce20f0
commit
ffc6cc2f23
@@ -117,6 +117,12 @@ public:
|
||||
*/
|
||||
static const bool isAllowed(const App::DocumentObject* f);
|
||||
|
||||
/**
|
||||
* Return the body which this feature belongs too, or NULL
|
||||
* The only difference to BodyBase::findBodyOf() is that this one casts value to Body*
|
||||
*/
|
||||
static Body *findBodyOf(const App::DocumentObject* feature);
|
||||
|
||||
/// Return the bounding box of the Tip Shape, taking into account datum features
|
||||
Base::BoundBox3d getBoundBox();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user