36 void PopulateTiXmlElement(TiXmlElement &Element,
OUTPUT_TYPE OutputType)
const;
44 void UpdateSectionPoints(
const vector<XY> *p2DSectionPoints =
NULL);
53 XYZ GetPointOnSection(
const XY &p2DSectionPoints);
61 void UpdateSectionMesh(
const CMesh *p2DSectionMesh =
NULL);
64 void Rotate(
WXYZ Rotation);
67 void Translate(
XYZ Vector);
70 double GetT()
const {
return m_T; }
71 void SetT(
double t) { m_T = t; }
73 void SetIndex(
int iIndex) { m_iIndex = iIndex; }
81 return m_T < right.
m_T;
Defines the nodes and elements of a surface or volume mesh.
Represents a point on the centreline of a yarn.
A derivation of the CNode class which contains data specific to slave nodes such as sections.
const CMesh & GetSectionMesh() const
CMesh * m_SectionMesh
Section mesh in 3D.
CMesh * m_2DSectionMesh
Section mesh in 2D.
vector< XYZ > m_SectionPoints
Coordinates of the cross-section edge points in 3D.
const vector< XY > & Get2DSectionPoints() const
double m_T
T is the parameter which varies from 0 to 1 which tells us how far along the link the node is.
const CMesh & Get2DSectionMesh() const
const vector< XYZ > & GetSectionPoints() const
vector< XY > m_2DSectionPoints
Coordinates of the cross-section edge points in 2D.
void SetIndex(int iIndex)
int m_iIndex
Index which determines between which master nodes this slave node lies, varies from 0 to number of no...
Namespace containing a series of customised math operations not found in the standard c++ library.
bool operator<(const PROP_YARN_INFO &left, const PROP_YARN_INFO &right)
Used for sorting algorithms.
Struct for representing a quaternion.
Struct for representing points in 2D space.
Struct for representing points in 3D space.