vec=[0.,0.,1.]
nodes=m3d.findNodesOnPlane(pt,vec,1e-12);
m2d=m3d.buildFacePartOfMySelfNode(nodes,True);
+ renumber=[1,2,0,4,3]
+ m2d.renumberCells(renumber,False);
m2d.setName("ExampleOfMultiDimW");
meshes=[m2d,m3d]
MEDLoader.WriteUMeshes(fileName,meshes,True);
std::vector<int> nodes;
m3d->findNodesOnPlane(pt,vec,1e-12,nodes);
MEDCouplingUMesh *m2d=(MEDCouplingUMesh *)m3d->buildFacePartOfMySelfNode(&nodes[0],&nodes[0]+nodes.size(),true);
+ const int renumber[5]={1,2,0,4,3};
+ m2d->renumberCells(renumber,false);
m2d->setName("ExampleOfMultiDimW");
std::vector<const MEDCouplingUMesh *> meshes;
meshes.push_back(m2d);