xmsstamper
1.0
|
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 | |
Cross section definition for stamping.
Definition at line 142 of file XmStamperIo.h.
bool xms::XmStampCrossSection::ReadFromFile | ( | std::ifstream & | a_file | ) |
Reads the XmStampCrossSection class information to a file.
[in] | a_file | The input file. |
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.
void xms::XmStampCrossSection::WriteToFile | ( | std::ofstream & | a_file, |
const std::string & | a_cardName | ||
) | const |
Writes the XmStampCrossSection class information to a file.
[in] | a_file | The output file. |
[in] | a_cardName | The 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.
int xms::XmStampCrossSection::m_idxLeftShoulder |
index to the shoulder point in the m_left vector
Definition at line 158 of file XmStamperIo.h.
Referenced by xms::XmGuideBankUtilImpl::AdjustEndCapCrossSection(), xms::XmSlopedAbutmentUtilImpl::EndCapCrossSectionShouldersTo2dCrossSection(), xms::XmStampInterpCrossSectionImpl::InterpCs(), ReadFromFile(), xms::XmSlopedAbutmentUtilImpl::Setup(), xms::XmSlopedAbutmentUtilImpl::SlopedAbutmentTo2dCrossSection(), XmStampInterpCrossSectionUnitTests::test0(), XmStampInterpCrossSectionUnitTests::test1(), TutStampingUnitTests::test_RealDataStamping(), TutStampingUnitTests::test_StampCutEmbankment(), TutStampingUnitTests::test_StampFillEmbankment(), TutStampingUnitTests::test_StampGuidebank(), TutStampingUnitTests::test_StampIntersectBathymetry(), TutStampingUnitTests::test_StampSlopedAbutment(), TutStampingUnitTests::test_StampWingWall(), XmStampInterpCrossSectionUnitTests::testCrossSectionTutorial(), and WriteToFile().
VecPt3d xms::XmStampCrossSection::m_left |
left side of the cross section
points defining the cross section
Definition at line 156 of file XmStamperIo.h.
Referenced by xms::XmGuideBankUtilImpl::AdjustEndCapCrossSection(), xms::XmStamperImpl::ConvertCrossSectionsTo3d(), xms::XmSlopedAbutmentUtilImpl::ConvertTo3d(), xms::XmGuideBankUtilImpl::CrossSectionTo3dPts(), xms::XmSlopedAbutmentUtilImpl::EndCapCrossSectionShouldersTo2dCrossSection(), xms::XmSlopedAbutmentUtilImpl::EnsureCrossSectionAtMaxX(), xms::XmStampInterpCrossSectionImpl::InterpCs(), ReadFromFile(), xms::XmUtil::ScaleCrossSectionXvals(), xms::XmSlopedAbutmentUtilImpl::SlopedAbutmentTo2dCrossSection(), XmStampInterpCrossSectionUnitTests::test0(), XmStampInterpCrossSectionUnitTests::test1(), TutStampingUnitTests::test_RealDataStamping(), TutStampingUnitTests::test_StampCutEmbankment(), TutStampingUnitTests::test_StampFillEmbankment(), TutStampingUnitTests::test_StampGuidebank(), TutStampingUnitTests::test_StampIntersectBathymetry(), TutStampingUnitTests::test_StampSlopedAbutment(), TutStampingUnitTests::test_StampWingWall(), XmStampInterpCrossSectionUnitTests::testCrossSectionTutorial(), and WriteToFile().
VecPt3d xms::XmStampCrossSection::m_right |
right side of the cross section
points defining the cross section
Definition at line 160 of file XmStamperIo.h.
Referenced by xms::XmGuideBankUtilImpl::AdjustEndCapCrossSection(), xms::XmStamperImpl::ConvertCrossSectionsTo3d(), xms::XmSlopedAbutmentUtilImpl::ConvertTo3d(), xms::XmGuideBankUtilImpl::CrossSectionTo3dPts(), xms::XmSlopedAbutmentUtilImpl::EndCapCrossSectionShouldersTo2dCrossSection(), xms::XmSlopedAbutmentUtilImpl::EnsureCrossSectionAtMaxX(), xms::XmStampInterpCrossSectionImpl::InterpCs(), ReadFromFile(), xms::XmUtil::ScaleCrossSectionXvals(), xms::XmSlopedAbutmentUtilImpl::SlopedAbutmentTo2dCrossSection(), XmStampInterpCrossSectionUnitTests::test0(), XmStampInterpCrossSectionUnitTests::test1(), TutStampingUnitTests::test_RealDataStamping(), TutStampingUnitTests::test_StampCutEmbankment(), TutStampingUnitTests::test_StampFillEmbankment(), TutStampingUnitTests::test_StampGuidebank(), TutStampingUnitTests::test_StampIntersectBathymetry(), TutStampingUnitTests::test_StampSlopedAbutment(), TutStampingUnitTests::test_StampWingWall(), XmStampInterpCrossSectionUnitTests::testCrossSectionTutorial(), and WriteToFile().