42 virtual void PopulateTiXmlElement(TiXmlElement &Element,
OUTPUT_TYPE OutputType)
const;
45 virtual double GetVolumeFraction(
const vector<XY> &Section,
double dFibreArea,
XY Location,
int YarnIndex=-1)
const = 0;
47 virtual double GetVolumeFraction(
double dArea,
double dFibreArea,
int YarnIndex=-1)
const;
Abstract base class that defines how the fibres are distributed within a yarn.
virtual string GetType() const =0
Derived class should return the class name.
virtual CFibreDistribution * Copy() const =0
Create a copy of the derived fibre distribution and return a pointer to the newly created instance.
virtual double GetVolumeFraction(const vector< XY > &Section, double dFibreArea, XY Location, int YarnIndex=-1) const =0
Get the volume fraction for a given location.
Namespace containing a series of customised math operations not found in the standard c++ library.
Struct for representing points in 2D space.