1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
3 // File: PartSet_CenterPrs.h
4 // Created: 25 April 2017
5 // Author: Vitaly SMETANNIKOV
7 #ifndef PartSet_CenterPrs_H
8 #define PartSet_CenterPrs_H
10 #include <ModelAPI_Object.h>
11 #include <GeomAPI_Shape.h>
13 #include <AIS_Point.hxx>
14 #include <Standard_DefineHandle.hxx>
17 DEFINE_STANDARD_HANDLE(PartSet_CenterPrs, AIS_Point)
19 class PartSet_CenterPrs: public AIS_Point
23 /// \param theResult a result object
24 Standard_EXPORT PartSet_CenterPrs(const ObjectPtr& theObject,
25 const GeomShapePtr& theEdge,
26 const gp_Pnt& theCenter);
28 ObjectPtr object() const { return myObject; }
29 GeomShapePtr edge() const { return myEdge; }
31 DEFINE_STANDARD_RTTIEXT(PartSet_CenterPrs, AIS_Point)