]> SALOME platform Git repositories - plugins/blsurfplugin.git/commitdiff
Salome HOME
'struct SMESH_TNodeXYZ' has no member named '_xyz'
authorgdd <gdd>
Mon, 2 Jul 2012 12:21:08 +0000 (12:21 +0000)
committergdd <gdd>
Mon, 2 Jul 2012 12:21:08 +0000 (12:21 +0000)
src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx

index 4743bbaef821c90bed7a808c48ed4aaa9bc345e8..325086255d5baf6d508b82876ab217540e219a2f 100644 (file)
@@ -1492,7 +1492,8 @@ bool BLSURFPlugin_BLSURF::Compute(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape)
           double t                = nData.param;
           real uv[2]              = { nData.u, nData.v };
           SMESH_TNodeXYZ nXYZ( nData.node );
-          dcad_edge_discretization_set_vertex_coordinates( dedge, iN+1, t, uv, nXYZ._xyz );
+          real xyz[3]             = { nXYZ.X(), nXYZ.Y(), nXYZ.Z() };
+          dcad_edge_discretization_set_vertex_coordinates( dedge, iN+1, t, uv, xyz );
         }
         dcad_edge_discretization_set_property(dedge, DISTENE_DCAD_PROPERTY_REQUIRED);
       }