1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: PartSet_CenterPrs.cpp
4 // Created: 25 April 2017
5 // Author: Vitaly SMETANNIKOV
7 #include "PartSet_CenterPrs.h"
9 #include <Geom_CartesianPoint.hxx>
12 IMPLEMENT_STANDARD_RTTIEXT(PartSet_CenterPrs, AIS_Point)
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)),