OGS
FileIO::GMSH::GMSHLine Class Referencefinal

Detailed Description

Definition at line 21 of file GMSHLine.h.

#include <GMSHLine.h>

Public Member Functions

 GMSHLine (std::size_t start_point_id, std::size_t end_point_id)
 
void write (std::ostream &os, std::size_t id) const
 

Private Attributes

std::size_t _start_pnt_id
 
std::size_t _end_pnt_id
 

Constructor & Destructor Documentation

◆ GMSHLine()

FileIO::GMSH::GMSHLine::GMSHLine ( std::size_t  start_point_id,
std::size_t  end_point_id 
)

Definition at line 19 of file GMSHLine.cpp.

20 : _start_pnt_id(start_point_id), _end_pnt_id(end_point_id)
21{
22}
std::size_t _start_pnt_id
Definition: GMSHLine.h:27
std::size_t _end_pnt_id
Definition: GMSHLine.h:28

Member Function Documentation

◆ write()

void FileIO::GMSH::GMSHLine::write ( std::ostream &  os,
std::size_t  id 
) const

Definition at line 24 of file GMSHLine.cpp.

25{
26 os << "Line(" << id << ") = {" << _start_pnt_id << "," << _end_pnt_id
27 << "};\n";
28}

References _end_pnt_id, and _start_pnt_id.

Member Data Documentation

◆ _end_pnt_id

std::size_t FileIO::GMSH::GMSHLine::_end_pnt_id
private

Definition at line 28 of file GMSHLine.h.

Referenced by write().

◆ _start_pnt_id

std::size_t FileIO::GMSH::GMSHLine::_start_pnt_id
private

Definition at line 27 of file GMSHLine.h.

Referenced by write().


The documentation for this class was generated from the following files: