45 void PopulateTiXmlElement(TiXmlElement &Element,
OUTPUT_TYPE OutputType)
const;
47 string GetType()
const {
return "CSectionPowerEllipse"; }
48 string GetDefaultName()
const;
50 XY GetPoint(
double t)
const;
51 double GetTangent(
double t)
const;
58 void SetWidth(
double dWidth ){ m_dWidth = dWidth; }
59 void SetHeight(
double dHeight ){ m_dHeight = dHeight; }
60 void SetPower(
double dPower ){ m_dPower = dPower; }
Abstract base class respresenting a yarn cross-section.
CSection * Copy() const
Create a copy of the derived section and return a pointer to the newly created instance.
void SetHeight(double dHeight)
void SetPower(double dPower)
string GetType() const
Derived class should return the class name.
double GetXOffset() const
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.