OGS
GMSHLine.cpp
Go to the documentation of this file.
1
12
#include "
GMSHLine.h
"
13
14
#include <ostream>
15
16
namespace
FileIO
17
{
18
namespace
GMSH
19
{
20
GMSHLine::GMSHLine
(std::size_t start_point_id, std::size_t end_point_id)
21
: _start_pnt_id(start_point_id), _end_pnt_id(end_point_id)
22
{
23
}
24
25
void
GMSHLine::write
(std::ostream& os, std::size_t
id
)
const
26
{
27
os <<
"Line("
<<
id
<<
") = {"
<<
_start_pnt_id
<<
","
<<
_end_pnt_id
28
<<
"};\n"
;
29
}
30
31
}
// end namespace GMSH
32
}
// end namespace FileIO
GMSHLine.h
FileIO::GMSH::GMSHLine::write
void write(std::ostream &os, std::size_t id) const
Definition
GMSHLine.cpp:25
FileIO::GMSH::GMSHLine::GMSHLine
GMSHLine(std::size_t start_point_id, std::size_t end_point_id)
Definition
GMSHLine.cpp:20
FileIO::GMSH::GMSHLine::_start_pnt_id
std::size_t _start_pnt_id
Definition
GMSHLine.h:28
FileIO::GMSH::GMSHLine::_end_pnt_id
std::size_t _end_pnt_id
Definition
GMSHLine.h:29
FileIO
Definition
SHPImportDialog.h:19
Applications
FileIO
Gmsh
GMSHLine.cpp
Generated by
1.11.0