1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: SketcherPrs_Tools.h
4 // Created: 10 March 2015
5 // Author: Vitaly SMETANNIKOV
7 #ifndef SketcherPrs_Tools_H
8 #define SketcherPrs_Tools_H
10 #include "SketcherPrs.h"
11 #include <GeomAPI_Edge.h>
12 #include <GeomAPI_Pnt2d.h>
15 class SketchPlugin_Constraint;
17 namespace SketcherPrs_Tools {
19 std::shared_ptr<GeomAPI_Edge> getLine(SketchPlugin_Constraint* theFeature,
20 const std::string& theAttrName);
22 std::shared_ptr<GeomAPI_Pnt2d> getPoint(SketchPlugin_Constraint* theFeature,
23 const std::string& theAttrName);