#include <ShapeExtractor.h>
Static Public Member Functions | |
static std::vector< TopoDS_Shape > | extractDrawableShapes (const TopoDS_Shape shapeIn) |
static Base::Vector3d | getLocation3dFromFeat (App::DocumentObject *obj) |
static TopoDS_Shape | getShapes (const std::vector< App::DocumentObject * > links) |
static std::vector< TopoDS_Shape > | getShapes2d (const std::vector< App::DocumentObject * > links) |
static std::vector< TopoDS_Shape > | getShapesFromObject (const App::DocumentObject *docObj) |
static TopoDS_Shape | getShapesFused (const std::vector< App::DocumentObject * > links) |
static std::vector< TopoDS_Shape > | getXShapes (const App::Link *xLink) |
static bool | is2dObject (App::DocumentObject *obj) |
static bool | isDraftPoint (App::DocumentObject *obj) |
static bool | isEdgeType (App::DocumentObject *obj) |
static bool | isPointType (App::DocumentObject *obj) |
static bool | prefAdd2d (void) |
Member Function Documentation
◆ extractDrawableShapes()
|
static |
Referenced by getShapes(), and getXShapes().
◆ getLocation3dFromFeat()
|
static |
References Part::PropertyPartShape::getShape(), Part::TopoShape::getShape(), App::GeoFeature::globalPlacement(), isPointType(), Part::TopoShape::setPlacement(), Part::Feature::Shape, and TechDraw::DrawUtil::vertex2Vector().
Referenced by TechDraw::LandmarkDimension::execute(), TechDraw::LandmarkDimension::get2DPoints(), and TechDraw::LandmarkDimension::onDocumentRestored().
◆ getShapes()
|
static |
◆ getShapes2d()
|
static |
References Base::Persistence::getClassTypeId(), Part::PropertyPartShape::getShape(), App::PropertyListsT< T, ListT, ParentT >::getValues(), App::GeoFeature::globalPlacement(), App::GroupExtension::Group, is2dObject(), prefAdd2d(), and Part::Feature::Shape.
Referenced by TechDraw::DrawViewPart::getSourceShape2d().
◆ getShapesFromObject()
|
static |
References Base::Console(), Base::Persistence::getClassTypeId(), App::ExtensionContainer::getPropertyByName(), Part::PropertyPartShape::getShape(), Base::Persistence::getTypeId(), App::PropertyListsT< T, ListT, ParentT >::getValues(), App::GeoFeature::globalPlacement(), App::GroupExtension::Group, Base::Type::isDerivedFrom(), Base::ConsoleSingleton::Log(), and Part::Feature::Shape.
Referenced by getShapes().
◆ getShapesFused()
|
static |
References Base::Console(), Base::ConsoleSingleton::Error(), and getShapes().
Referenced by TechDraw::DrawViewPart::getSourceShapeFused().
◆ getXShapes()
|
static |
References Base::Console(), extractDrawableShapes(), Base::Persistence::getClassTypeId(), App::LinkBaseExtension::getLink(), App::LinkBaseExtension::getLinkedChildren(), Part::Feature::getShape(), App::LinkBaseExtension::hasPlacement(), and Base::ConsoleSingleton::Message().
Referenced by getShapes().
◆ is2dObject()
|
static |
References isEdgeType(), and isPointType().
Referenced by getShapes2d().
◆ isDraftPoint()
|
static |
References App::PropertyPythonObject::toString().
Referenced by isPointType().
◆ isEdgeType()
|
static |
Referenced by is2dObject().
◆ isPointType()
|
static |
References Base::Persistence::getClassTypeId(), and isDraftPoint().
Referenced by getLocation3dFromFeat(), and is2dObject().
◆ prefAdd2d()
|
static |
References App::GetApplication(), ParameterGrp::GetBool(), ParameterGrp::GetGroup(), and App::Application::GetUserParameter().
Referenced by getShapes2d().
The documentation for this class was generated from the following files:
- src/Mod/TechDraw/App/ShapeExtractor.h
- src/Mod/TechDraw/App/ShapeExtractor.cpp