Back to index

salome-smesh  6.5.0
Classes | Functions
StdMeshers_FaceSide.cxx File Reference
#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.

Classes

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

Function Documentation

template<typename T >
void reverse ( vector< T > &  vec)

reverse order of vector elements

Parameters:
vec- vector to reverse

Definition at line 509 of file StdMeshers_FaceSide.cxx.

{
  for ( int f=0, r=vec.size()-1; f < r; ++f, --r )
    std::swap( vec[f], vec[r] );
}

Here is the caller graph for this function: