#include "StdMeshers_FaceSide.hxx"#include "SMDS_EdgePosition.hxx"#include "SMDS_MeshNode.hxx"#include "SMESHDS_Mesh.hxx"#include "SMESHDS_SubMesh.hxx"#include "SMESH_Algo.hxx"#include "SMESH_Mesh.hxx"#include "SMESH_MesherHelper.hxx"#include "SMESH_ComputeError.hxx"#include "SMESH_Block.hxx"#include <Adaptor2d_Curve2d.hxx>#include <BRepAdaptor_CompCurve.hxx>#include <BRep_Builder.hxx>#include <BRep_Tool.hxx>#include <GCPnts_AbscissaPoint.hxx>#include <Geom2dAdaptor_Curve.hxx>#include <TopExp.hxx>#include <TopExp_Explorer.hxx>#include <TopoDS.hxx>#include <TopoDS_Face.hxx>#include <TopoDS_Vertex.hxx>#include <TopoDS_Wire.hxx>#include <map>#include "utilities.h"
Go to the source code of this file.
Data Structures | |
| struct | Adaptor2dCurve2d |
| Creates a Adaptor2d_Curve2d to be used in SMESH_Block. More... | |
Functions | |
| template<typename T > | |
| void | reverse (vector< T > &vec) |
| reverse order of vector elements | |
| void reverse | ( | vector< T > & | vec | ) |
reverse order of vector elements
| vec | - vector to reverse |
Definition at line 424 of file StdMeshers_FaceSide.cxx.
Referenced by VISCOUS._ViscousBuilder.addBoundaryElements(), SMESH_Pattern.arrangeBoundaries(), SMESHGUI_AddMeshElementDlg.ClickOnApply(), compensateError(), StdMeshers_Hexa_3D.Compute(), SMESHGUI_AddMeshElementDlg.displaySimulation(), StdMeshers_ProjectionUtils.FindFaceAssociation(), StdMeshers_ProjectionUtils.FindMatchingNodesOnFaces(), SMESH_MeshEditor.InsertNodesIntoLink(), SMESH_MeshEditor.makeWalls(), StdMeshers_FaceSide.Reverse(), SMESH.ReverseConnectivity(), and VISCOUS._ViscousBuilder.shrink().
{
for ( int f=0, r=vec.size()-1; f < r; ++f, --r )
std::swap( vec[f], vec[r] );
}