43 void PopulateTiXmlElement(TiXmlElement &Element,
OUTPUT_TYPE OutputType)
const;
46 virtual const vector<XY> &GetPoints(
int iNumPoints,
bool bEquiSpaced =
false)
const;
48 string GetType()
const {
return "CSectionRectangle"; }
49 string GetDefaultName()
const;
51 XY GetPoint(
double t)
const;
56 void SetWidth(
double dWidth ){ m_dWidth = dWidth; }
57 void SetHeight(
double dHeight ){ m_dHeight = dHeight; }
Abstract base class respresenting a yarn cross-section.
void SetHeight(double dHeight)
string GetType() const
Derived class should return the class name.
CSection * Copy() const
Create a copy of the derived section and return a pointer to the newly created instance.
void SetWidth(double dWidth)
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.