0024002: Overall code and build procedure refactoring -- automatic
[occt.git] / src / AIS / AIS_EqualRadiusRelation.cxx
index 60612ed..08921b1 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-#define BUC60915        //GG 05/06/01 Enable to compute the requested arrow size
-//                      if any in all dimensions.
-
-#include <Standard_NotImplemented.hxx>
-
-#include <AIS_EqualRadiusRelation.ixx>
 
 #include <AIS.hxx>
-#include <DsgPrs_EqualRadiusPresentation.hxx>
+#include <AIS_EqualRadiusRelation.hxx>
 #include <BRepAdaptor_Curve.hxx>
-#include <TopoDS.hxx>
-#include <gp_Circ.hxx>
-#include <Geom_Circle.hxx>
+#include <DsgPrs_EqualRadiusPresentation.hxx>
 #include <ElCLib.hxx>
-#include <SelectMgr_EntityOwner.hxx>
-#include <Select3D_SensitiveSegment.hxx>
-#include <Select3D_SensitiveBox.hxx>
-#include <Precision.hxx>
+#include <Geom_Circle.hxx>
+#include <Geom_Plane.hxx>
+#include <Geom_Transformation.hxx>
 #include <GeomAPI_ProjectPointOnSurf.hxx>
-#include <Prs3d_DimensionAspect.hxx>
+#include <gp_Circ.hxx>
+#include <Precision.hxx>
 #include <Prs3d_ArrowAspect.hxx>
-#include <AIS_Drawer.hxx>
+#include <Prs3d_DimensionAspect.hxx>
+#include <Prs3d_Drawer.hxx>
+#include <Prs3d_Presentation.hxx>
+#include <Prs3d_Projector.hxx>
+#include <Select3D_SensitiveBox.hxx>
+#include <Select3D_SensitiveSegment.hxx>
+#include <SelectMgr_EntityOwner.hxx>
+#include <SelectMgr_Selection.hxx>
+#include <Standard_NotImplemented.hxx>
+#include <Standard_Type.hxx>
+#include <TopoDS.hxx>
+#include <TopoDS_Edge.hxx>
 
 //=======================================================================
 //function : AIS_EqualRadiusRelation
 //purpose  : 
 //=======================================================================
-
 AIS_EqualRadiusRelation::AIS_EqualRadiusRelation( const TopoDS_Edge& aFirstEdge,
                                                  const TopoDS_Edge& aSecondEdge,
                                                  const Handle( Geom_Plane )& aPlane )
@@ -131,9 +133,7 @@ void AIS_EqualRadiusRelation::Compute( const Handle( PrsMgr_PresentationManager3
        }
     }
   }
-#ifdef BUC60915
   if( !myArrowSizeIsDefined )
-#endif
     myArrowSize = (Min(myFirstCenter.Distance(myFirstPoint),
                     mySecondCenter.Distance(mySecondPoint)))*0.05;
   
@@ -164,11 +164,11 @@ void AIS_EqualRadiusRelation::Compute( const Handle( Prs3d_Projector )& /*aProje
 //purpose  : 
 //=======================================================================
 
-void AIS_EqualRadiusRelation::Compute(const Handle_Prs3d_Projector& aProjector,
-                                      const Handle_Geom_Transformation& aTransformation,
-                                      const Handle_Prs3d_Presentation& aPresentation)
+void AIS_EqualRadiusRelation::Compute(const Handle(Prs3d_Projector)& aProjector,
+                                      const Handle(Geom_Transformation)& aTransformation,
+                                      const Handle(Prs3d_Presentation)& aPresentation)
 {
-// Standard_NotImplemented::Raise("AIS_EqualRadiusRelation::Compute(const Handle_Prs3d_Projector&, const Handle_Geom_Transformation&, const Handle_Prs3d_Presentation&)");
+// Standard_NotImplemented::Raise("AIS_EqualRadiusRelation::Compute(const Handle(Prs3d_Projector)&, const Handle(Geom_Transformation)&, const Handle(Prs3d_Presentation)&)");
  PrsMgr_PresentableObject::Compute( aProjector , aTransformation , aPresentation ) ;
 }