43 void PopulateTiXmlElement(TiXmlElement &Element,
OUTPUT_TYPE OutputType)
const;
45 string GetType()
const {
return "CSectionHybrid"; }
46 string GetDefaultName()
const;
49 void AddDivision(
double dFraction);
51 bool AssignSection(
int iIndex,
const CSection &Section);
56 double GetDivision(
int iIndex)
const;
57 const CSection &GetSection(
int iIndex)
const;
58 XY GetPoint(
double t)
const;
Abstract base class respresenting a yarn cross-section.
Hybrid of any number of other sections.
int GetNumDivisions() const
vector< CObjectContainer< CSection > > m_Sections
CSection * Copy() const
Create a copy of the derived section and return a pointer to the newly created instance.
string GetType() const
Derived class should return the class name.
vector< double > m_Divisions
Namespace containing a series of customised math operations not found in the standard c++ library.
bool operator==(const XYZ &left, const XYZ &right)
Struct for representing points in 2D space.