26CYarnSectionConstant::CYarnSectionConstant(
const CSection &Section)
39 TiXmlElement* pSection = Element.FirstChildElement(
"Section");
50 TiXmlElement Section(
"Section");
51 m_pSection->PopulateTiXmlElement(Section, OutputType);
52 Element.InsertEndChild(Section);
58 return m_pSection->GetPoints(iNumPoints, bEquiSpaced);
64 return m_pSection->GetMesh(iNumPoints, bEquiSpaced);
Defines the nodes and elements of a surface or volume mesh.
Abstract base class respresenting a yarn cross-section.
static CObjectContainer< CSection > CreateSection(TiXmlElement &Element)
Create a section from TiXmlElement.
CMesh GetSectionMesh(const YARN_POSITION_INFORMATION PositionInfo, int iNumPoints, bool bEquiSpaced) const
This function must be implemented by derived classes.
CYarnSectionConstant(const CSection &Section)
~CYarnSectionConstant(void)
void PopulateTiXmlElement(TiXmlElement &Element, OUTPUT_TYPE OutputType) const
Used for saving data to XML.
CObjectContainer< CSection > m_pSection
const CSection & GetSection() const
Abstract base class used to define the sections along the length of a yarn.
virtual void PopulateTiXmlElement(TiXmlElement &Element, OUTPUT_TYPE OutputType) const
Used for saving data to XML.
Namespace containing a series of customised math operations not found in the standard c++ library.
Structure used to represent the position along the length of a yarn.