37 CNode(TiXmlElement &Element);
41 virtual void PopulateTiXmlElement(TiXmlElement &Element,
OUTPUT_TYPE OutputType)
const;
44 virtual void Rotate(
WXYZ Rotation,
XYZ Origin =
XYZ(0,0,0));
47 virtual void Translate(
XYZ Vector);
61 XYZ GetNormal()
const;
65 void SetAngle(
double Angle ) { m_Angle = Angle; }
Represents a point on the centreline of a yarn.
XYZ m_Up
Unit vector which represents the up direction (must be perpendicular to m_Tangent)
XYZ m_Tangent
Unit vector tangent to the yarn path at this node.
void SetAngle(double Angle)
void SetPosition(XYZ Position)
XYZ m_Position
Coordinates representing the position of the node.
void SetTangent(XYZ Tangent)
Namespace containing a series of customised math operations not found in the standard c++ library.
Struct for representing a quaternion.
Struct for representing points in 3D space.