X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FOCC2VTK%2FGEOM_EdgeSource.cxx;fp=src%2FOCC2VTK%2FGEOM_EdgeSource.cxx;h=06a1f68f9e5f8ab715597be58fea1eb9e11672aa;hb=922cc08eea7fdde898b17104ced238c4978c2ec2;hp=83928b396919e4615571da662cb5e0cfff18c43a;hpb=63e04ef7a7d83e52fc010bf95f88a9ce1d8aeebc;p=modules%2Fgeom.git diff --git a/src/OCC2VTK/GEOM_EdgeSource.cxx b/src/OCC2VTK/GEOM_EdgeSource.cxx index 83928b396..06a1f68f9 100644 --- a/src/OCC2VTK/GEOM_EdgeSource.cxx +++ b/src/OCC2VTK/GEOM_EdgeSource.cxx @@ -138,17 +138,16 @@ void GEOM_EdgeSource::OCC2VTK (const TopoDS_Edge& theEdge, } else { Standard_Integer aNbNodes = aEdgePoly->NbNodes(); const TColStd_Array1OfInteger& aNodeIds = aEdgePoly->Nodes(); - const TColgp_Array1OfPnt& anId2Pnts = T->Nodes(); - aP1 = anId2Pnts(aNodeIds(1)); - aP2 = anId2Pnts(aNodeIds(aNbNodes)); + aP1 = T->Node(aNodeIds(1)); + aP2 = T->Node(aNodeIds(aNbNodes)); for(int j = 1; j < aNbNodes; j++) { Standard_Integer id1 = aNodeIds(j); Standard_Integer id2 = aNodeIds(j+1); - gp_Pnt pt1 = anId2Pnts(id1); - gp_Pnt pt2 = anId2Pnts(id2); + gp_Pnt pt1 = T->Node(id1); + gp_Pnt pt2 = T->Node(id2); if(!isidtrsf) { // apply edge transformation