0026937: Eliminate NO_CXX_EXCEPTION macro support
[occt.git] / src / IGESConvGeom / IGESConvGeom_GeomBuilder.cxx
index 5e60aaa..7cd2c62 100644 (file)
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-#include <IGESConvGeom_GeomBuilder.ixx>
-#include <TColStd_HArray1OfReal.hxx>
-#include <TColStd_HArray2OfReal.hxx>
+
+#include <gp.hxx>
+#include <gp_Ax1.hxx>
+#include <gp_Ax2.hxx>
+#include <gp_Ax3.hxx>
+#include <gp_Trsf.hxx>
+#include <gp_XY.hxx>
+#include <gp_XYZ.hxx>
+#include <IGESConvGeom_GeomBuilder.hxx>
+#include <IGESGeom_CopiousData.hxx>
+#include <IGESGeom_TransformationMatrix.hxx>
 #include <Interface_Translates.hxx>
 #include <Standard_DomainError.hxx>
-#include <gp.hxx>
-
+#include <TColStd_HArray1OfReal.hxx>
+#include <TColStd_HArray2OfReal.hxx>
 
 static Standard_Real epsl = 1.E-10;
 static Standard_Real epsa = 1.E-10;
@@ -63,7 +71,7 @@ static Standard_Real epsa = 1.E-10;
 {
   Standard_Integer num, nb = theXYZ->Length();
   if (datatype < 1 || datatype > 3 || nb == 0 || (polyline && datatype == 3))
-    Standard_DomainError::Raise ("IGESConvGeom_GeomBuilder : MakeCopiousData");
+    throw Standard_DomainError("IGESConvGeom_GeomBuilder : MakeCopiousData");
 
   Standard_Integer nbd = datatype+1;  // 1->2  2->3   et   3->6
   if (datatype == 3) nbd = 6;