| 
    xmsmesh
    1.0
    
   | 
 
Creates a VTK Unstructured Grid from polygons. More...
  
 Public Member Functions | |
| bool | Generate2dm (MeMultiPolyMesherIo &a_input, const std::string &a_outFileName, int a_precision=15) override | 
| Creates a 2dm file from polygons.  More... | |
| bool | Generate2dm (MeMultiPolyMesherIo &a_input, std::ostream &a_os, int a_precision=15) override | 
| Creates a 2dm file from polygons by meshing.  More... | |
| void | Write2dm (MeMultiPolyMesherIo &a_input, std::ostream &a_os, int a_precision) | 
| Writes 2dm data from a point and cell stream from the MeMultiPolyMesherIo class.  More... | |
Public Attributes | |
| bool | m_sortCellsForTesting = true | 
Additional Inherited Members | |
  Static Public Member Functions inherited from xms::MeMultiPolyTo2dm | |
| static boost::shared_ptr< MeMultiPolyTo2dm > | New () | 
| Creates a class.  More... | |
Creates a VTK Unstructured Grid from polygons.
Definition at line 49 of file MeMultiPolyTo2dm.cpp.
      
  | 
  override | 
Creates a 2dm file from polygons.
| [in] | a_io | Input/output of polygons and options for generating a mesh. | 
| [in] | a_outFileName | output filename | 
| [in] | a_precision | pinted digits of precision of points in file | 
Definition at line 145 of file MeMultiPolyTo2dm.cpp.
Referenced by MeMultiPolyTo2dmUnitTests::testCase4(), and MeMultiPolyTo2dmIntermediateTests::testCasePatch6().
      
  | 
  override | 
Creates a 2dm file from polygons by meshing.
| [in] | a_io | Input/output of polygons and options for generating a mesh. | 
| [in] | a_os | output stream to store the mesh | 
| [in] | a_precision | pinted digits of precision of points in file | 
Definition at line 161 of file MeMultiPolyTo2dm.cpp.
References xmlog::error, xms::MeMultiPolyMesher::New(), Write2dm(), and XM_LOG.
| void xms::MeMultiPolyTo2dmImpl::Write2dm | ( | MeMultiPolyMesherIo & | a_io, | 
| std::ostream & | a_os, | ||
| int | a_precision | ||
| ) | 
Writes 2dm data from a point and cell stream from the MeMultiPolyMesherIo class.
| [in] | a_io | Input/output of polygons and options for generating a mesh. | 
| [in] | a_os | output stream to store the mesh | 
| [in] | a_precision | pinted digits of precision of points in file | 
Definition at line 190 of file MeMultiPolyTo2dm.cpp.
References xms::iSortCellsForTesting(), xms::MeMultiPolyMesherIo::m_cells, xms::MeMultiPolyMesherIo::m_points, m_sortCellsForTesting, STR_FULLWIDTH, STRstd(), xms::Pt3< T >::x, XM_ENSURE_TRUE_NO_ASSERT, xms::Pt3< T >::y, and xms::Pt3< T >::z.
Referenced by Generate2dm().
| bool xms::MeMultiPolyTo2dmImpl::m_sortCellsForTesting = true | 
to avoid different order of cells/elements on different OS'es we will sort the cells for consistent results
Definition at line 63 of file MeMultiPolyTo2dm.cpp.
Referenced by Write2dm().