]> SALOME platform Git repositories - modules/shaper.git/blob - src/SketcherPrs/SketcherPrs_Tools.h
Salome HOME
ac779d38e6cf8d3d02f2c02de79e610d64fd0351
[modules/shaper.git] / src / SketcherPrs / SketcherPrs_Tools.h
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        SketcherPrs_Tools.h
4 // Created:     10 March 2015
5 // Author:      Vitaly SMETANNIKOV
6
7 #ifndef SketcherPrs_Tools_H
8 #define SketcherPrs_Tools_H
9
10 #include "SketcherPrs.h"
11 #include <GeomAPI_Shape.h>
12 #include <GeomAPI_Pnt2d.h>
13 #include <string>
14
15 class SketchPlugin_Constraint;
16
17 namespace SketcherPrs_Tools {
18
19   std::shared_ptr<GeomAPI_Shape> getLine(SketchPlugin_Constraint* theFeature,
20                                         const std::string& theAttrName);
21
22   std::shared_ptr<GeomAPI_Pnt2d> getPoint(SketchPlugin_Constraint* theFeature,
23                                           const std::string& theAttrName);
24
25 };
26
27 #endif