X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FShapeAnalysis%2FShapeAnalysis_Geom.cxx;h=5cc592f51f5aff0e37b0aabbec832c4c5d194383;hp=e11c2d08848b818194c1ce03232e9d079e4c7b63;hb=99ee8f1a83f3e29af4fa149bd95e48001e0d86c8;hpb=d5f74e42d6160fc451ef4e464a93a0de9b384adc diff --git a/src/ShapeAnalysis/ShapeAnalysis_Geom.cxx b/src/ShapeAnalysis/ShapeAnalysis_Geom.cxx index e11c2d0884..5cc592f51f 100644 --- a/src/ShapeAnalysis/ShapeAnalysis_Geom.cxx +++ b/src/ShapeAnalysis/ShapeAnalysis_Geom.cxx @@ -12,10 +12,6 @@ // commercial license or contractual agreement. //szv#4 S4163 -#include - -#include -#include #include #include @@ -24,15 +20,17 @@ #include #include #include - +#include +#include +#include #include #include +#include //======================================================================= //function : NearestPlane //purpose : //======================================================================= - Standard_Boolean ShapeAnalysis_Geom::NearestPlane(const TColgp_Array1OfPnt& Pnts, gp_Pln& aPln, Standard_Real& Dmax) { @@ -130,8 +128,12 @@ Standard_Boolean ShapeAnalysis_Geom::NearestPlane(const TColgp_Array1OfPnt& Pnts gp_GTrsf gtrsf; for (Standard_Integer i = 1; i <= 3; i ++) + { for (Standard_Integer j = 1; j <= 4; j ++) + { gtrsf.SetValue (i,j, coefs->Value(i,j)); + } + } //try { //szv#4:S4163:12Mar99 waste try //// trsf = gtrsf.Trsf();