xmsmesh  1.0
TutMeshing.t.h File Reference
#include <cxxtest/TestSuite.h>
#include <xmscore/stl/vector.h>

Go to the source code of this file.

Classes

class  TutMeshingIntermediateTests
 Class for testing meshing functionality. More...
 
class  TutRedistributionIntermediateTests
 Class for testing polyline/polygon point redistribution. More...
 

Functions

bool xms::tutReadMeshIoFromFile (const std::string &a_fname, MeMultiPolyMesherIo &a_io)
 helper function to read MeMultiPolyMesherIo More...
 
bool xms::tutReadPolygons (const std::string &a_fname, VecPt3d2d &a_outside, VecPt3d3d &a_inside)
 helper function to read polygons from a text file More...
 

Detailed Description

Definition in file TutMeshing.t.h.

Function Documentation

◆ tutReadMeshIoFromFile()

◆ tutReadPolygons()

bool xms::tutReadPolygons ( const std::string &  a_fname,
VecPt3d2d a_outside,
VecPt3d3d a_inside 
)

helper function to read polygons from a text file

Parameters
a_fnameFile name where the polygon is stored
a_outsideVector of locations for the definition of the outside of the polygon.
a_inside2d vector of locations to define multiple inside polygons
Returns
true if the file was read without any errors

Definition at line 220 of file TutMeshing.cpp.

References xms::MeMultiPolyMesherIo::m_polys, xms::tutReadMeshIoFromFile(), and xms::tutReadPolygons().

Referenced by MeMultiPolyTo2dmIntermediateTests::testCasePatch6(), MeMultiPolyTo2dmIntermediateTests::testCasePaveConstSizeTransition(), and xms::tutReadPolygons().