//
// This file is part of Open CASCADE Technology software library.
//
-// This library is free software; you can redistribute it and / or modify it
-// under the terms of the GNU Lesser General Public version 2.1 as published
+// This library is free software; you can redistribute it and/or modify it under
+// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
-#include <ChFiKPart_ComputeData.ixx>
-#include <Standard_NotImplemented.hxx>
-#include <Standard_ConstructionError.hxx>
-#include <Precision.hxx>
-#include <gp.hxx>
-#include <gp_Pnt2d.hxx>
-#include <gp_Dir2d.hxx>
-#include <gp_Lin2d.hxx>
-#include <gp_Pnt.hxx>
-#include <gp_Dir.hxx>
-#include <gp_Vec.hxx>
-#include <gp_Lin.hxx>
-#include <gp_Ax2.hxx>
-#include <gp_Ax3.hxx>
-#include <gp_Circ.hxx>
-#include <gp_Pln.hxx>
-#include <gp_Cylinder.hxx>
+#include <Adaptor3d_HSurface.hxx>
+#include <BRepAdaptor_HSurface.hxx>
+#include <ChFiDS_ChamfSpine.hxx>
+#include <ChFiDS_FilSpine.hxx>
+#include <ChFiDS_Spine.hxx>
+#include <ChFiDS_SurfData.hxx>
+#include <ChFiKPart_ComputeData.hxx>
+#include <ChFiKPart_ComputeData_ChAsymPlnCon.hxx>
+#include <ChFiKPart_ComputeData_ChAsymPlnCyl.hxx>
+#include <ChFiKPart_ComputeData_ChAsymPlnPln.hxx>
+#include <ChFiKPart_ComputeData_ChPlnCon.hxx>
+#include <ChFiKPart_ComputeData_ChPlnCyl.hxx>
+#include <ChFiKPart_ComputeData_ChPlnPln.hxx>
+#include <ChFiKPart_ComputeData_CS.hxx>
+#include <ChFiKPart_ComputeData_Fcts.hxx>
+#include <ChFiKPart_ComputeData_FilPlnCon.hxx>
+#include <ChFiKPart_ComputeData_FilPlnCyl.hxx>
+#include <ChFiKPart_ComputeData_FilPlnPln.hxx>
+#include <ChFiKPart_ComputeData_Rotule.hxx>
+#include <ChFiKPart_ComputeData_Sphere.hxx>
#include <ElCLib.hxx>
#include <ElSLib.hxx>
+#include <Geom2d_BSplineCurve.hxx>
+#include <Geom2d_Circle.hxx>
#include <Geom2d_Curve.hxx>
#include <Geom2d_Line.hxx>
-#include <Geom2d_Circle.hxx>
-#include <Geom2d_BSplineCurve.hxx>
+#include <Geom2dAdaptor_Curve.hxx>
+#include <Geom2dInt_GInter.hxx>
+#include <Geom_Circle.hxx>
+#include <Geom_ConicalSurface.hxx>
#include <Geom_Curve.hxx>
+#include <Geom_CylindricalSurface.hxx>
#include <Geom_Line.hxx>
-#include <Geom_Circle.hxx>
-#include <Geom_Surface.hxx>
#include <Geom_Plane.hxx>
-#include <Geom_CylindricalSurface.hxx>
-#include <Geom_ToroidalSurface.hxx>
-#include <Geom_ConicalSurface.hxx>
#include <Geom_SphericalSurface.hxx>
+#include <Geom_Surface.hxx>
+#include <Geom_ToroidalSurface.hxx>
#include <GeomAbs_CurveType.hxx>
#include <GeomAbs_SurfaceType.hxx>
#include <GeomAdaptor_Curve.hxx>
-#include <Geom2dAdaptor_Curve.hxx>
-//#include <BRepAdaptor_Curve2d.hxx>
-#include <BRepAdaptor_HSurface.hxx>
-#include <IntSurf_Transition.hxx>
-#include <IntSurf_TypeTrans.hxx>
+#include <gp.hxx>
+#include <gp_Ax2.hxx>
+#include <gp_Ax3.hxx>
+#include <gp_Circ.hxx>
+#include <gp_Cylinder.hxx>
+#include <gp_Dir.hxx>
+#include <gp_Dir2d.hxx>
+#include <gp_Lin.hxx>
+#include <gp_Lin2d.hxx>
+#include <gp_Pln.hxx>
+#include <gp_Pnt.hxx>
+#include <gp_Pnt2d.hxx>
+#include <gp_Vec.hxx>
+#include <IntAna_QuadQuadGeo.hxx>
+#include <IntRes2d_IntersectionPoint.hxx>
+#include <IntRes2d_Position.hxx>
#include <IntRes2d_Transition.hxx>
#include <IntRes2d_TypeTrans.hxx>
-#include <IntRes2d_Position.hxx>
-#include <IntRes2d_IntersectionPoint.hxx>
-#include <IntAna_QuadQuadGeo.hxx>
-#include <Geom2dInt_GInter.hxx>
+#include <IntSurf_Transition.hxx>
+#include <IntSurf_TypeTrans.hxx>
+#include <Precision.hxx>
+#include <Standard_ConstructionError.hxx>
+#include <Standard_NotImplemented.hxx>
#include <TopExp.hxx>
-//#include <BRepAdaptor_HCurve2d.hxx>
-#include <ChFiDS_FilSpine.hxx>
-#include <ChFiDS_ChamfSpine.hxx>
-
#include <TopOpeBRepDS_Curve.hxx>
+#include <TopOpeBRepDS_DataStructure.hxx>
#include <TopOpeBRepDS_Surface.hxx>
-#include <ChFiKPart_ComputeData_Fcts.hxx>
-#include <ChFiKPart_ComputeData_ChPlnPln.hxx>
-#include <ChFiKPart_ComputeData_ChPlnCyl.hxx>
-#include <ChFiKPart_ComputeData_ChPlnCon.hxx>
-#include <ChFiKPart_ComputeData_ChAsymPlnPln.hxx>
-#include <ChFiKPart_ComputeData_ChAsymPlnCyl.hxx>
-#include <ChFiKPart_ComputeData_ChAsymPlnCon.hxx>
-#include <ChFiKPart_ComputeData_FilPlnCon.hxx>
-#include <ChFiKPart_ComputeData_FilPlnCyl.hxx>
-#include <ChFiKPart_ComputeData_FilPlnPln.hxx>
-
-
-#include <ChFiKPart_ComputeData_CS.hxx>
-#include <ChFiKPart_ComputeData_Rotule.hxx>
-#include <ChFiKPart_ComputeData_Sphere.hxx>
-
+//#include <BRepAdaptor_Curve2d.hxx>
+//#include <BRepAdaptor_HCurve2d.hxx>
//=======================================================================
//function : Compute
//purpose :
Standard_Boolean ChFiKPart_ComputeData::Compute
(TopOpeBRepDS_DataStructure& DStr,
Handle(ChFiDS_SurfData)& Data,
- const Handle_Adaptor3d_HSurface& S1,
- const Handle_Adaptor3d_HSurface& S2,
+ const Handle(Adaptor3d_HSurface)& S1,
+ const Handle(Adaptor3d_HSurface)& S2,
const TopAbs_Orientation Or1,
const TopAbs_Orientation Or2,
const Handle(ChFiDS_Spine)& Sp,