]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0023115: [CEA 1545] Regression on KindOfShape method
authorvsr <vsr@opencascade.com>
Tue, 18 Aug 2015 11:18:20 +0000 (14:18 +0300)
committervsr <vsr@opencascade.com>
Tue, 18 Aug 2015 11:18:20 +0000 (14:18 +0300)
Additional correction, to avoid duplicated information in result of operation

src/GEOMImpl/GEOMImpl_IMeasureOperations.cxx

index e601505627a3e9521f67e675f570d4689d3b5e16..17a54671f29742fa6ab8a9edae8c83090e686e73 100644 (file)
@@ -532,20 +532,8 @@ GEOMImpl_IMeasureOperations::ShapeKind GEOMImpl_IMeasureOperations::KindOfShape
           if (anInfo.KindOfBounds() != GEOMAlgo_KB_INFINITE)
           {
             // (+) geompy.kind.PLANAR  xo yo zo  dx dy dz  nb_edges nb_vertices
-
             aKind = SK_PLANAR;
             
-            gp_Pnt aC = anInfo.Location();
-            theDoubles->Append(aC.X());
-            theDoubles->Append(aC.Y());
-            theDoubles->Append(aC.Z());
-            
-            gp_Ax3 anAx3 = anInfo.Position();
-            gp_Dir aD = anAx3.Direction();
-            theDoubles->Append(aD.X());
-            theDoubles->Append(aD.Y());
-            theDoubles->Append(aD.Z());
-            
             theIntegers->Append(anInfo.NbSubShapes(TopAbs_EDGE));
             theIntegers->Append(anInfo.NbSubShapes(TopAbs_VERTEX));
           }