xmsmesh  1.0
MeMultiPolyTo2dm.cpp File Reference
#include <xmsmesh/meshing/MeMultiPolyTo2dm.h>
#include <array>
#include <fstream>
#include <sstream>
#include <cmath>
#include <boost/format.hpp>
#include <xmscore/misc/StringUtil.h>
#include <xmscore/misc/XmConst.h>
#include <xmscore/misc/XmError.h>
#include <xmscore/misc/XmLog.h>
#include <xmscore/points/pt.h>
#include <xmscore/stl/vector.h>
#include <xmsinterp/geometry/geoms.h>
#include <xmsmesh/meshing/MeMultiPolyMesher.h>
#include <xmsmesh/meshing/MeMultiPolyMesherIo.h>
#include <xmscore/misc/carray.h>
#include <xmsmesh/meshing/MeMultiPolyTo2dm.t.h>
#include <xmscore/testing/TestTools.h>
#include <xmsmesh/tutorial/TutMeshing.t.h>

Go to the source code of this file.

Classes

class  xms::MeMultiPolyTo2dmImpl
 Creates a VTK Unstructured Grid from polygons. More...
 

Functions

static void xms::iSortCellsForTesting (MeMultiPolyMesherIo &a_io)
 sorts the cells based so that the node with the smallest number will be first and then the cells are sorted. More...
 

Detailed Description

Definition in file MeMultiPolyTo2dm.cpp.

Function Documentation

◆ iSortCellsForTesting()

static void xms::iSortCellsForTesting ( MeMultiPolyMesherIo a_io)
static

sorts the cells based so that the node with the smallest number will be first and then the cells are sorted.

Parameters
[in]a_ioMeMultiPolyMesherIo class that has an output mesh

Definition at line 73 of file MeMultiPolyTo2dm.cpp.

References xms::iSortCellsForTesting(), and xms::MeMultiPolyMesherIo::m_cells.

Referenced by xms::iSortCellsForTesting(), and xms::MeMultiPolyTo2dmImpl::Write2dm().