From: gdd Date: Mon, 2 Jul 2012 12:21:08 +0000 (+0000) Subject: 'struct SMESH_TNodeXYZ' has no member named '_xyz' X-Git-Tag: V6_6_0a1~29 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=12d4b0683200993cfbf1b15202d5951912be568f;p=plugins%2Fblsurfplugin.git 'struct SMESH_TNodeXYZ' has no member named '_xyz' --- diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index 4743bba..3250862 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -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); }