51 string GetType()
const {
return "CYarnSectionInterpNode"; }
52 void PopulateTiXmlElement(TiXmlElement &Element,
OUTPUT_TYPE OutputType)
const;
59 void AddSection(
const CSection &Section);
66 void InsertSection(
int iIndex,
const CSection &Section);
73 void ReplaceSection(
int iIndex,
const CSection &Section);
76 void ReplaceMidSection(
int iNodeIndex,
int iIndex,
const CSection &Section);
79 void DeleteSection(
int iIndex);
88 void InsertSection(
int iIndex,
double u,
const CSection &Section);
91 void SetSectionMeshLayersEqual(
int iNumPoints )
const;
95 const CSection &GetNodeSection(
int iIndex)
const;
96 int GetNumMidNodeSections(
int iIndex)
const;
97 double GetMidNodeSectionPos(
int iNodeIndex,
int iIndex )
const;
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.
Creates a section which is linearly interpolated between sections defined at the nodes.
CYarnSection * Copy() const
This is a function to allow copying of derived classes correctly.
vector< vector< pair< double, CObjectContainer< CSection > > > > m_MidNodeSections
vector< CObjectContainer< CSection > > m_Sections
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.