Salome HOME
External points manager object created
[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 GeomShapePtr& theEdge,
16                                      const gp_Pnt& theCenter)
17   : AIS_Point(new Geom_CartesianPoint(theCenter)),
18   myObject(theObject),
19   myEdge(theEdge)
20 {
21 }