]> SALOME platform Git repositories - modules/shaper.git/blob - src/PartSet/PartSet_CenterPrs.cpp
Salome HOME
Implementation of a task "Show centers of external circular objects in current sketcher"
[modules/shaper.git] / src / PartSet / PartSet_CenterPrs.cpp
1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
2
3 // File:        PartSet_CenterPrs.cpp
4 // Created:     25 April 2017
5 // Author:      Vitaly SMETANNIKOV
6
7 #include "PartSet_CenterPrs.h"
8
9 #include <Geom_CartesianPoint.hxx>
10
11
12 IMPLEMENT_STANDARD_RTTIEXT(PartSet_CenterPrs, AIS_Point)
13
14 PartSet_CenterPrs::PartSet_CenterPrs(const ObjectPtr& theObject,
15                                      const GeomEdgePtr& theEdge,
16                                      const gp_Pnt& theCenter,
17                                      ModelAPI_AttributeSelection::CenterType theType)
18   : AIS_Point(new Geom_CartesianPoint(theCenter)),
19   myObject(theObject),
20   myEdge(theEdge),
21   myCenterType(theType)
22 {
23 }