0031456: Visualization - move out Dimensions and Relations from package AIS to PrsDims
[occt.git] / src / PrsDim / PrsDim_IdenticRelation.hxx
similarity index 91%
rename from src/AIS/AIS_IdenticRelation.hxx
rename to src/PrsDim/PrsDim_IdenticRelation.hxx
index ef72910..2cc184f 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-#ifndef _AIS_IdenticRelation_HeaderFile
-#define _AIS_IdenticRelation_HeaderFile
+#ifndef _PrsDim_IdenticRelation_HeaderFile
+#define _PrsDim_IdenticRelation_HeaderFile
 
-#include <AIS_Relation.hxx>
+#include <PrsDim_Relation.hxx>
 #include <gp_Pnt.hxx>
 #include <PrsMgr_PresentationManager3d.hxx>
 #include <SelectMgr_Selection.hxx>
@@ -33,21 +33,21 @@ class TopoDS_Wire;
 class TopoDS_Vertex;
 class gp_Dir;
 
-DEFINE_STANDARD_HANDLE(AIS_IdenticRelation, AIS_Relation)
+DEFINE_STANDARD_HANDLE(PrsDim_IdenticRelation, PrsDim_Relation)
 
 //! Constructs a constraint by a relation of identity
 //! between two or more datums figuring in shape
 //! Interactive Objects.
-class AIS_IdenticRelation : public AIS_Relation
+class PrsDim_IdenticRelation : public PrsDim_Relation
 {
-
+  DEFINE_STANDARD_RTTIEXT(PrsDim_IdenticRelation, PrsDim_Relation)
 public:
 
   //! Initializes the relation of identity between the two
   //! entities, FirstShape and SecondShape. The plane
   //! aPlane is initialized in case a visual reference is
   //! needed to show identity.
-  Standard_EXPORT AIS_IdenticRelation(const TopoDS_Shape& FirstShape, const TopoDS_Shape& SecondShape, const Handle(Geom_Plane)& aPlane);
+  Standard_EXPORT PrsDim_IdenticRelation(const TopoDS_Shape& FirstShape, const TopoDS_Shape& SecondShape, const Handle(Geom_Plane)& aPlane);
 
   Standard_Boolean HasUsers() const { return !myUsers.IsEmpty(); }
 
@@ -60,8 +60,6 @@ public:
   //! Returns true if the interactive object is movable.
   virtual Standard_Boolean IsMovable() const Standard_OVERRIDE { return Standard_True; }
 
-  DEFINE_STANDARD_RTTIEXT(AIS_IdenticRelation,AIS_Relation)
-
 private:
 
   
@@ -123,4 +121,4 @@ private:
 
 };
 
-#endif // _AIS_IdenticRelation_HeaderFile
+#endif // _PrsDim_IdenticRelation_HeaderFile