50 string GetType()
const {
return "CYarnSectionInterpPosition"; }
51 void PopulateTiXmlElement(TiXmlElement &Element,
OUTPUT_TYPE OutputType)
const;
61 void AddSection(
double dPosition,
const CSection &Section);
64 void SetSectionMeshLayersEqual(
int iNumPoints )
const;
68 const CSection &GetSection(
int iIndex)
const;
69 double GetSectionPosition(
int iIndex)
const;
72 vector<pair<double, CObjectContainer<CSection> > >
m_Sections;
Defines the nodes and elements of a surface or volume mesh.
Abstract base class respresenting a yarn cross-section.
Abstract base class used to define the sections along the length of a yarn.
Abstract base class to handle interpolation for derived classes.
Interpolate sections between arbritrary positions along the length of the yarn.
vector< pair< double, CObjectContainer< CSection > > > m_Sections
CYarnSection * Copy() const
This is a function to allow copying of derived classes correctly.
string GetType() const
Derived class should return the class name.
int GetNumNodeSections() const
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.