0031456: Visualization - move out Dimensions and Relations from package AIS to PrsDims
[occt.git] / src / PrsDim / PrsDim_EqualRadiusRelation.hxx
similarity index 73%
rename from src/AIS/AIS_EqualRadiusRelation.hxx
rename to src/PrsDim/PrsDim_EqualRadiusRelation.hxx
index 9d4917f..b2f8e34 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-#ifndef _AIS_EqualRadiusRelation_HeaderFile
-#define _AIS_EqualRadiusRelation_HeaderFile
+#ifndef _PrsDim_EqualRadiusRelation_HeaderFile
+#define _PrsDim_EqualRadiusRelation_HeaderFile
 
-#include <AIS_Relation.hxx>
+#include <PrsDim_Relation.hxx>
 
 class Geom_Plane;
 
-DEFINE_STANDARD_HANDLE(AIS_EqualRadiusRelation, AIS_Relation)
+DEFINE_STANDARD_HANDLE(PrsDim_EqualRadiusRelation, PrsDim_Relation)
 
-class AIS_EqualRadiusRelation : public AIS_Relation
+class PrsDim_EqualRadiusRelation : public PrsDim_Relation
 {
-  DEFINE_STANDARD_RTTIEXT(AIS_EqualRadiusRelation, AIS_Relation)
+  DEFINE_STANDARD_RTTIEXT(PrsDim_EqualRadiusRelation, PrsDim_Relation)
 public:
 
   //! Creates equal relation of two arc's radiuses.
   //! If one of edges is not in the given plane,
   //! the presentation method projects it onto the plane.
-  Standard_EXPORT AIS_EqualRadiusRelation(const TopoDS_Edge& aFirstEdge, const TopoDS_Edge& aSecondEdge, const Handle(Geom_Plane)& aPlane);
+  Standard_EXPORT PrsDim_EqualRadiusRelation(const TopoDS_Edge& aFirstEdge, const TopoDS_Edge& aSecondEdge, const Handle(Geom_Plane)& aPlane);
 
 private:
 
@@ -41,6 +41,8 @@ private:
   
   Standard_EXPORT void ComputeRadiusPosition();
 
+private:
+
   gp_Pnt myFirstCenter;
   gp_Pnt mySecondCenter;
   gp_Pnt myFirstPoint;
@@ -48,4 +50,4 @@ private:
 
 };
 
-#endif // _AIS_EqualRadiusRelation_HeaderFile
+#endif // _PrsDim_EqualRadiusRelation_HeaderFile