TechDraw::ShapeExtractor Class Reference

#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()

std::vector< TopoDS_Shape > ShapeExtractor::extractDrawableShapes ( const TopoDS_Shape  shapeIn)
static

References Part::TopoShape::isInfinite().

Referenced by getShapes(), and getXShapes().

◆ getLocation3dFromFeat()

◆ getShapes()

◆ getShapes2d()

◆ getShapesFromObject()

◆ getShapesFused()

TopoDS_Shape ShapeExtractor::getShapesFused ( const std::vector< App::DocumentObject * >  links)
static

◆ getXShapes()

◆ is2dObject()

bool ShapeExtractor::is2dObject ( App::DocumentObject obj)
static

References isEdgeType(), and isPointType().

Referenced by getShapes2d().

◆ isDraftPoint()

bool ShapeExtractor::isDraftPoint ( App::DocumentObject obj)
static

◆ isEdgeType()

bool ShapeExtractor::isEdgeType ( App::DocumentObject obj)
static

Referenced by is2dObject().

◆ isPointType()

bool ShapeExtractor::isPointType ( App::DocumentObject obj)
static

◆ prefAdd2d()

bool ShapeExtractor::prefAdd2d ( void  )
static

The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/Mod/TechDraw/App/ShapeExtractor.h
  • Sources/FreeCAD/src/Mod/TechDraw/App/ShapeExtractor.cpp