0026377: Passing Handle objects as arguments to functions as non-const reference...
[occt.git] / src / BRepMAT2d / BRepMAT2d_LinkTopoBilo.cxx
index e85c418..300a4f9 100644 (file)
@@ -5,8 +5,8 @@
 //
 // 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 <BRepMAT2d_LinkTopoBilo.ixx>
-#include <TopAbs.hxx>
-#include <TopExp_Explorer.hxx>
-#include <TopExp.hxx>
-#include <TopoDS_Shape.hxx>
-#include <TopoDS.hxx>
-#include <TopoDS_Vertex.hxx> 
-#include <TopTools_SequenceOfShape.hxx>
-#include <Standard_Type.hxx>
-#include <Geom2d_Geometry.hxx>
-#include <Geom2d_Curve.hxx>
+
+#include <BRepMAT2d_BisectingLocus.hxx>
+#include <BRepMAT2d_DataMapOfShapeSequenceOfBasicElt.hxx>
+#include <BRepMAT2d_Explorer.hxx>
+#include <BRepMAT2d_LinkTopoBilo.hxx>
+#include <BRepTools_WireExplorer.hxx>
 #include <Geom2d_CartesianPoint.hxx>
-#include <TColGeom2d_SequenceOfCurve.hxx>
-#include <MAT_Graph.hxx>
+#include <Geom2d_Curve.hxx>
+#include <Geom2d_Geometry.hxx>
+#include <gp_Pnt2d.hxx>
 #include <MAT_BasicElt.hxx>
-#include <BRepTools_WireExplorer.hxx>
-#include <BRepMAT2d_SequenceOfBasicElt.hxx>
-#include <BRepMAT2d_DataMapOfShapeSequenceOfBasicElt.hxx>
+#include <MAT_Graph.hxx>
+#include <MAT_SequenceOfBasicElt.hxx>
+#include <Precision.hxx>
+#include <Standard_ConstructionError.hxx>
+#include <Standard_Type.hxx>
+#include <TColGeom2d_SequenceOfCurve.hxx>
 #include <TColStd_DataMapIteratorOfDataMapOfIntegerInteger.hxx>
 #include <TColStd_DataMapOfIntegerInteger.hxx>
-#include <Precision.hxx>
-#include <gp_Pnt2d.hxx>
-
+#include <TopAbs.hxx>
+#include <TopExp.hxx>
+#include <TopExp_Explorer.hxx>
+#include <TopoDS.hxx>
+#include <TopoDS_Shape.hxx>
+#include <TopoDS_Vertex.hxx>
+#include <TopoDS_Wire.hxx>
+#include <TopTools_SequenceOfShape.hxx>
 
 //=======================================================================
 //function : BRepMAT2d_LinkTopoBilo
 //purpose  : 
 //=======================================================================
-
 BRepMAT2d_LinkTopoBilo::BRepMAT2d_LinkTopoBilo()
 {
 }
@@ -170,7 +173,7 @@ void BRepMAT2d_LinkTopoBilo::LinkToWire(const TopoDS_Wire&              W,
   Handle(MAT_BasicElt)         BE;
   Handle(Standard_Type)        Type;
   TopTools_SequenceOfShape     TopoSeq;
-  BRepMAT2d_SequenceOfBasicElt EmptySeq;
+  MAT_SequenceOfBasicElt EmptySeq;
 
   TColStd_DataMapIteratorOfDataMapOfIntegerInteger Ite;
   TColStd_DataMapOfIntegerInteger LinkBECont;