xmsstamper  1.0
xms::XmStampCrossSection Class Reference

Cross section definition for stamping. More...

#include <XmStamperIo.h>

Public Member Functions

void WriteToFile (std::ofstream &a_file, const std::string &a_cardName) const
 Writes the XmStampCrossSection class information to a file. More...
 
bool ReadFromFile (std::ifstream &a_file)
 Reads the XmStampCrossSection class information to a file. More...
 

Public Attributes

VecPt3d m_left
 left side of the cross section More...
 
double m_leftMax
 max x value for left side
 
int m_idxLeftShoulder
 
VecPt3d m_right
 right side of the cross section More...
 
double m_rightMax
 max x value for right side
 
int m_idxRightShoulder
 index to the shoulder point in the m_right vector
 

Detailed Description

Cross section definition for stamping.

Definition at line 142 of file XmStamperIo.h.

Member Function Documentation

◆ ReadFromFile()

bool xms::XmStampCrossSection::ReadFromFile ( std::ifstream &  a_file)

Reads the XmStampCrossSection class information to a file.

Parameters
[in]a_fileThe input file.
Returns
true if file read is successful. false if errors encountered.

Definition at line 580 of file XmStamperIo.cpp.

References m_idxLeftShoulder, m_idxRightShoulder, m_left, m_leftMax, m_right, m_rightMax, stEqualNoCase(), and XM_ENSURE_TRUE.

◆ WriteToFile()

void xms::XmStampCrossSection::WriteToFile ( std::ofstream &  a_file,
const std::string &  a_cardName 
) const

Writes the XmStampCrossSection class information to a file.

Parameters
[in]a_fileThe output file.
[in]a_cardNameThe card name to be written to the output file.

Definition at line 564 of file XmStamperIo.cpp.

References m_idxLeftShoulder, m_idxRightShoulder, m_left, m_leftMax, m_right, m_rightMax, and XM_ENSURE_TRUE.

Member Data Documentation

◆ m_idxLeftShoulder

◆ m_left

◆ m_right


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