TexGen
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
TexGen::CTextileLayerToLayer Class Reference

#include <TextileLayerToLayer.h>

Inheritance diagram for TexGen::CTextileLayerToLayer:
Inheritance graph
[legend]

Public Member Functions

 CTextileLayerToLayer (int iNumXYarns, int iNumYYarns, double dXSpacing, double dYSpacing, double dXHeight, double dYHeight, int iNumBinderLayers, bool bShapeBinders=true)
 Build a weave unit cell of given width, height, yarn spacing and fabric thickness. More...
 
 CTextileLayerToLayer (TiXmlElement &Element)
 
virtual ~CTextileLayerToLayer (void)
 
virtual CTextileCopy () const
 
virtual string GetType () const
 Derived class should return the class name. More...
 
virtual void PopulateTiXmlElement (TiXmlElement &Element, OUTPUT_TYPE OutputType)
 Used for saving data to XML. More...
 
virtual void SetupLayers (int iNumWarpLayers, int iNumWeftLayers, int iNumBinderLayers=1)
 Set up the sequence of layers in the textile for the required number of warp, weft and binder yarn layers. More...
 
virtual bool BuildTextile () const
 Build the textile. More...
 
bool BuildLayerToLayerTextile () const
 
void SetBinderPosition (int x, int y, int zOffset)
 Sets the vertical positions of the binder yarns.
More...
 
void MoveBinderYarns (int x, int y, int iLevel1, int iLevel2)
 Move the stack of binder yarns by one position. More...
 
int GetBinderOffset (int x, int y)
 Finds the offset position of the top binder yarn at the given x,y position. More...
 
virtual int GetNumBinderLayers () const
 Returns number of binder layers in textile. More...
 
void ShapeBinderYarns () const
 Shape the binder yarns around the adjacent weft yarns. More...
 
virtual void ConvertToPatternDraft (int iWeftOrder=BOTTOM_TO_TOP)
 
void SetThickness (double dThickness)
 Set the thickness of the fabric. More...
 
void SetMaxVolFraction (double dVolFraction)
 Set the maximum yarn volume fraction for use in refinement. More...
 
void SetXYarnWidths (int iIndex, double dWidth)
 Set the width of the yarn parallel to the X axis, with given index. More...
 
void SetXYarnWidths (double dWidth)
 Set the width of all the yarns parallel to the X axis. More...
 
void SetYYarnWidths (int iIndex, double dWidth)
 Set the width of the yarn parallel to the Y axis, with given index. More...
 
void SetYYarnWidths (double dWidth)
 Set the width of all the yarns parallel to the Y axis. More...
 
void SetXYarnHeights (int iIndex, double dHeight)
 Set the height of the yarn parallel to the X axis, with given index. More...
 
void SetXYarnHeights (double dHeight)
 Set the height of all the yarns parallel to the X axis. More...
 
void SetYYarnHeights (int iIndex, double dHeight)
 Set the height of the yarn parallel to the Y axis, with given index. More...
 
void SetYYarnHeights (double dHeight)
 Set the height of all the yarns parallel to the Y axis. More...
 
void SetXYarnSpacings (int iIndex, double dSpacing)
 Set the spacing of the yarn parallel to the X axis, with given index. More...
 
void SetXYarnSpacings (double dSpacing)
 Set the spacing of all the yarns parallel to the X axis. More...
 
void SetYYarnSpacings (int iIndex, double dSpacing)
 Set the spacing of the yarn parallel to the Y axis, with given index. More...
 
void SetYYarnSpacings (double dSpacing)
 Set the spacing of all the yarns parallel to the Y axis. More...
 
double GetXYarnWidths (int iIndex) const
 Get the width of the yarn parallel to the X axis, with given index. More...
 
double GetYYarnWidths (int iIndex) const
 Get the width of the yarn parallel to the Y axis, with given index. More...
 
double GetXYarnHeights (int iIndex) const
 Get the height of the yarn parallel to the X axis, with given index. More...
 
double GetYYarnHeights (int iIndex) const
 Get the height of the yarn parallel to the Y axis, with given index. More...
 
double GetXYarnSpacings (int iIndex) const
 Get the spacing of the yarn parallel to the X axis, with given index. More...
 
double GetYYarnSpacings (int iIndex) const
 Get the spacing of the yarn parallel to the Y axis, with given index. More...
 
double GetXYarnGapSize (int iIndex) const
 Get the gap size between two yarns parallel to the X axis, with given index. More...
 
double GetYYarnGapSize (int iIndex) const
 Get the gap size between two yarns parallel to the Y axis, with given index. More...
 
void SetWarpYarnWidths (double dWidth)
 Set the width of yarns parallel to the X axis in warp yarn positions. More...
 
void SetBinderYarnWidths (double dWidth)
 Set the width of yarns parallel to the X axis in binder yarn positions. More...
 
void SetWarpYarnHeights (double dHeight)
 Set the height of yarns parallel to the X axis in warp yarn positions. More...
 
void SetBinderYarnHeights (double dHeight)
 Set the height of yarns parallel to the X axis in binder yarn positions. More...
 
void SetWarpYarnSpacings (double dWidth)
 Set the spacing of yarns parallel to the X axis in warp yarn positions. More...
 
void SetBinderYarnSpacings (double dWidth)
 Set the spacing of yarns parallel to the X axis in binder yarn positions. More...
 
void SetWeftYarnPower (double dPower)
 Set the power for power ellipse section for yarns parallel to Y axis. More...
 
void SetWarpYarnPower (double dPower)
 Set the power for power ellipse section for yarns parallel to X axis in warp yarn positions. More...
 
void SetBinderYarnPower (double dPower)
 Set the power for power ellipse section for yarns parallel to X axis in binder yarn positions. More...
 
void SetYarnLinearDensity (int iYarnType, double dValue, string Units="kg/m")
 Set the fibre linear density, i.e. the mass per unit length of fibre. More...
 
void SetYarnLinearDensity (double dValue, string Units="kg/m")
 Set the fibre linear density, i.e. the mass per unit length of fibre. More...
 
void SetFibreDensity (int iYarnType, double dValue, string Units="kg/m^3")
 Set the fibre density, i.e. the mass per unit volume of fibre. More...
 
void SetFibreDensity (double dValue, string Units="kg/m^3")
 Set the fibre density, i.e. the mass per unit volume of fibre. More...
 
void SetFibreArea (int iYarnType, double dValue, string Units="m^2")
 Set the area occupied by fibres in a yarn cross-section. More...
 
void SetFibreArea (double dValue, string Units="m^2")
 Set the area occupied by fibres in a yarn cross-section. More...
 
void SetFibresPerYarn (int iYarnType, int iNumFibres)
 Set the number of fibres per yarn. More...
 
void SetFibresPerYarn (int iValue)
 Set the number of fibres in a yarn. More...
 
void SetFibreDiameter (int iYarnType, double dValue, string Units="m")
 
void SetFibreDiameter (double dValue, string Units="m")
 Set the fibre diameter. More...
 
double GetFibreArea (int iYarnType, string Units)
 Get the area occupied by fibres given fibre diameter and number of fibres. More...
 
double GetFibreArea (string Units="m^2") const
 Get the area occupied by fibres given fibre diameter and number of fibres. More...
 
void SetYarnWidths (double dWidth)
 Set the width of all the yarns in the textile. More...
 
void SetYarnHeights (double dHeight)
 Set the height of all the yarns in the textile. More...
 
void SetYarnSpacings (double dSpacing)
 Set the spacing of all the yarns in the textile. More...
 
void AddYLayers (int x, int iNumberLayers)
 Add given number of yarns parallel to the Y axis, with given index x. More...
 
void AddYLayers (int iNumberLayers=1)
 Add given number of yarns parallel to the Y axis. More...
 
void AddXLayers (int y, int iNumberLayers)
 Add given number of yarns parallel to the X axis, with given index y. More...
 
void AddXLayers (int iNumberLayers=1)
 Add given number of yarns parallel to the X axis. More...
 
void AddXYarn (int y, PATTERN3D Pattern)
 Add yarn of type XYARN or NOYARN parallel to the X axis. More...
 
void AddYYarn (int x, PATTERN3D Pattern)
 Add yarn of type XYARN or NOTYARN parallel to the Y axis. More...
 
void AddWarpLayer ()
 Add yarns parallel to the X axis in warp yarn positions, no yarns in binder positions. More...
 
void AddBinderLayer ()
 Add yarns parallel to the X axis in binder yarn positions, no yarns in warp positions. More...
 
void AddNoYarnLayer ()
 Add empty layer. More...
 
void DeleteYLayers (int x, int iNumberLayers)
 Delete given number of yarns parallel to the Y axis, with given index x. More...
 
void DeleteYLayers (int iNumberLayers=1)
 Delete given number of yarns parallel to the Y axis. More...
 
void DeleteXLayers (int y, int iNumberLayers)
 Delete given number of yarns parallel to the X axis, with given index y. More...
 
void DeleteXLayers (int iNumberLayers=1)
 Delete given number of yarns parallel to the X axis. More...
 
void SwapPosition (int x, int y, int iLevel1, int iLevel2)
 Swap the positions of two yarns in the patter with given index x, y and level iLevel1, iLevel2. More...
 
int GetNumYLayers (int x) const
 Retreive the number of yarns parallel to the Y axis, with given index x. More...
 
int GetNumXLayers (int y) const
 Retreive the number of yarns parallel to the X axis, with given index y. More...
 
int GetMaxNumLayers () const
 Retreive the maximum number of layers at any crossover. More...
 
void GetWarpYarnInfo (int &iNumBinderYarns, int &iNumWarpYarns, int &iBinderRatio, int &iWarpRatio, YARNDATA &AveWarp, YARNDATA &AveBinder) const
 Retrieve number of warp and binder yarns and ratios. More...
 
bool IsBinderYarn (int index) const
 Check if X yarn is binder or warp. Returns true if binder. More...
 
int GetXYarnIndex (int YarnInd)
 Get the XYarn index (ie the y position) of a yarn given the yarn index. More...
 
int FindNextCellIndex (int index) const
 Find next cell in y direction which isn't a binder yarn. More...
 
int FindNextYCellIndex (int Starti, int j, int k) const
 Find next cell in x direction which isn't a noyarn. More...
 
int FindPrevYCellIndex (int Starti, int j, int k) const
 Find next cell in x direction which isn't a noyarn, searching backwards. More...
 
void SetWarpRatio (int iWarpRatio)
 Set the number of warp yarns grouped together. More...
 
void SetBinderRatio (int iBinderRatio)
 Set the number of binder yarns grouped together. More...
 
void SetBinderPattern ()
 Setup the binder pattern from the warp and binder ratios. More...
 
void SetBinderPattern (vector< bool > &BinderPattern)
 Setup the binder pattern from a pre-specified vector. More...
 
void SetGapSize (double dGapSize)
 Set the size of the gap to leave between yarns when correcting interference. More...
 
void SetResolution (int iResolution)
 Set the resolution of the yarns. More...
 
void AssignSectionMesh (const CSectionMesh &SectionMesh)
 Assign a section mesh to the weave. More...
 
CDomainPlanes GetDefaultDomain (bool bAddedDomainHeight=true)
 Get a domain which describes 6 planes triming the textile to a unit cell. More...
 
void AssignDefaultDomain (bool bAddedDomainHeight=true)
 Get the default domain and assign it as the domain. More...
 
void SetDomainZValues ()
 
virtual void FindMinMaxZ (double &dMinZ, double &dMaxZ)
 Find max and min Z values for textile. More...
 
void CheckUpVectors (int WarpIndex, bool Yarn=PATTERN3D_XYARN, bool bYarnsIndex=false) const
 
virtual string GetDefaultName () const
 Get the default name to assign to a textile. More...
 
virtual void SetupWeftRow (vector< int > &Layers, vector< int > &Row, int NumWarps, int Weft)
 Set up row of pattern cells for one weft pattern using one row of weave pattern data and the layers pattern for the weave. More...
 
void ShapeWeftYarns () const
 
bool NoYarnCell (vector< PATTERN3D > &Cell)
 
virtual double GetWidth () const
 Get the width of the unit cell. More...
 
double GetHeight () const
 Get the height of the unit cell. More...
 
int GetNumXYarns () const
 
int GetNumYYarns () const
 
double GetFabricThickness () const
 
double GetMaxVolFraction () const
 
double GetGapSize () const
 
double GetAverageYarnSpacing () const
 
double GetAverageYarnWidth () const
 
const vector< PATTERN3D > & GetCell (int x, int y) const
 
vector< PATTERN3D > & GetCell (int x, int y)
 
int GetResolution () const
 
vector< CYarn * > GetXYarns (int iIndex)
 
vector< CYarn * > GetYYarns (int iIndex)
 
int GetYarnIndex (int x, int y, int z) const
 
double GetWarpPower () const
 
double GetWeftPower () const
 
double GetBinderPower () const
 
bool GetRefine () const
 
virtual double GetAverageWeftYarnSpacing () const
 
double GetAverageWeftYarnWidth () const
 
double GetAverageWeftYarnHeight () const
 
void SetWeftRepeat (bool WeftRepeat)
 
CPatternDraftGetPatternDraft ()
 
void CalculateReedDesign (string Filename)
 
int AddYarn (const CYarn &Yarn)
 Add a Yarn to the textile. More...
 
bool DeleteYarn (int iIndex)
 Delete an Yarn from the textile. More...
 
void DeleteYarns ()
 Delete all Yarns in the textile. More...
 
void AddNodesToMesh (CMesh &Mesh)
 Add the master nodes to the mesh. More...
 
void AddPathToMesh (CMesh &Mesh)
 Add yarn centerline path to mesh. More...
 
void AddSurfaceToMesh (CMesh &Mesh, bool bTrimToDomain=false)
 Create surface mesh for this textile and add it to the mesh object. More...
 
bool AddSurfaceToMesh (CMesh &Mesh, vector< CMesh > &DomainMeshes, bool bTrimToDomain=false)
 
void AddVolumeToMesh (vector< CMesh > &YarnMeshes, bool bTrimToDomain=false)
 Create volume mesh for each yarn in this textile and add to a vector of meshes. More...
 
void AddVolumeToMesh (CMesh &Mesh, bool bTrimToDomain=false)
 Create volume mesh for this textile and add it to the mesh object. More...
 
void AddCentrePlaneToMesh (CMesh &Mesh, bool bTrimToDomain=false)
 Create centre plane mesh for this textile and add it to the mesh object. More...
 
void GetPointInformation (const vector< XYZ > &Points, vector< POINT_INFO > &PointsInfo, double dTolerance=1e-9)
 Get useful information of a list of points. More...
 
void GetPointInformation (const vector< XYZ > &Points, vector< POINT_INFO > &PointsInfo, int iYarn, double dTolerance=1e-9, bool bSurface=false)
 Get information when know which yarn point is in. Saves iterating through entire textile. More...
 
void SavePointInformationToVTK (string Filename, const CMesh &Mesh, double dTolerance=1e-9)
 Output point information to VTK. More...
 
double GetApproximateSize ()
 Get an approximate size for the textile. More...
 
int DetectInterference (vector< float > &DistanceToSurface, vector< int > &YarnIndex, bool bTrimToDomain, CMesh *pInterferingPoints=NULL)
 Find out if any of the yarns are interfering with each other. More...
 
void Rotate (WXYZ Rotation, XYZ Origin=XYZ(0, 0, 0))
 Rotate the Textile by given quaternion. More...
 
void Translate (XYZ Vector)
 Translate the Textile by given vector. More...
 
string GetName () const
 Get the name associated with this textile. More...
 
void AssignDomain (const CDomain &Domain)
 Assign a domain to the textile, will be used by default to trim the domain. More...
 
void RemoveDomain ()
 Remove the domain. More...
 
double GetYarnLength (string Units="m")
 Calculate the total yarn length. More...
 
double GetYarnLengthPerUnitArea (string Units="/m")
 Calculate the total yarn length per unit area. More...
 
double GetYarnVolume (string Units="m^3")
 Calculate the yarn volume. More...
 
double GetYarnVolumePerUnitArea (string Units="m")
 Calculate the total yarn volume per unit area. More...
 
double GetFibreVolume (string Units="m^3")
 Calculate the volume of fibre in the yarn, for just the nodes specified. More...
 
double GetFibreVolumePerUnitArea (string Units="m")
 Calculate the volume of fibre per unit area. More...
 
double GetFibreYarnVolumeFraction ()
 Calculates the total fibre volume fraction for all yarns. More...
 
double GetQuickDomainVolumeFraction ()
 Calculates the fibre volume fraction for the domain. More...
 
double GetDomainVolumeFraction ()
 Calculates the fibre volume fraction for the domain. More...
 
void SetAllYarnsYoungsModulusX (double dValue, string Units="MPa")
 Set the Youngs Modulus for all yarns in textile. More...
 
void SetAllYarnsYoungsModulusY (double dValue, string Units="MPa")
 
void SetAllYarnsYoungsModulusZ (double dValue, string Units="MPa")
 
void SetAllYarnsShearModulusXY (double dValue, string Units="MPa")
 Set the shear modulus for all yarns in textile. More...
 
void SetAllYarnsShearModulusXZ (double dValue, string Units="MPa")
 
void SetAllYarnsShearModulusYZ (double dValue, string Units="MPa")
 
void SetAllYarnsAlphaX (double dValue, string Units="/K")
 Set the coefficient of thermal expansion for all yarns in textile. More...
 
void SetAllYarnsAlphaY (double dValue, string Units="/K")
 
void SetAllYarnsAlphaZ (double dValue, string Units="/K")
 
void SetAllYarnsPoissonsRatioX (double dValue)
 Set the Poisson's ratio for all yarns in textile. More...
 
void SetAllYarnsPoissonsRatioY (double dValue)
 
void SetAllYarnsPoissonsRatioZ (double dValue)
 
bool ConvertToInterpNodes () const
 
CTextileWeaveGetWeave ()
 If this textile is a woven textile get a pointer of that type else return NULL. More...
 
CTextileWeave2DGetWeave2D ()
 
CTextile3DWeaveGet3DWeave ()
 
CTextileOrthogonalGetOrthogonalWeave ()
 
CTextileLayeredGetLayeredTextile ()
 
CTextileLayerToLayerGetLayerToLayerWeave ()
 
CTextileDecoupledLToLGetDecoupledLToLWeave ()
 
CTextileAngleInterlockGetAngleInterlockWeave ()
 
int GetNumYarns () const
 
const CYarnGetYarn (int iIndex) const
 
CYarnGetYarn (int iIndex)
 
const vector< CYarn > & GetYarns () const
 
vector< CYarn > & GetYarns ()
 
const CDomainGetDomain () const
 
CDomainGetDomain ()
 
bool SetGeometryScale (string Units)
 Set the scale of the geometry. More...
 
void SetArealDensity (double dValue, string Units="kg/m^2")
 Set the areal density, i.e. the mass per unit area of fabric. More...
 
void ResetArealDensity ()
 
void SetMatrixYoungsModulus (double dValue, string Units="MPa")
 Set the Young's modulus for matrix. More...
 
void SetMatrixPoissonsRatio (double dValue)
 Set the Poisson's ration for matrix. More...
 
void SetMatrixAlpha (double dValue)
 Set the coefficient of thermal expansion for the matrix. More...
 
string GetGeometryScale () const
 
double GetArealDensity (string Units="kg/m^2") const
 
double GetMatrixYoungsModulus (string Units="MPa") const
 
double GetMatrixPoissonsRatio () const
 
double GetMatrixAlpha () const
 
void SetYoungsModulus (double dValue, string Units="MPa")
 Set the Young's modulus for a yarn. More...
 
void SetYoungsModulusX (double dValue, string Units="MPa")
 
void SetYoungsModulusY (double dValue, string Units="MPa")
 
void SetYoungsModulusZ (double dValue, string Units="MPa")
 
void SetShearModulusXY (double dValue, string Units="MPa")
 Set the Shear modulus for a yarn. More...
 
void SetShearModulusXZ (double dValue, string Units="MPa")
 
void SetShearModulusYZ (double dValue, string Units="MPa")
 
void SetPoissonsRatio (double dValue)
 Set the Poisson's ratio for a yarn. More...
 
void SetPoissonsRatioX (double dValue)
 
void SetPoissonsRatioY (double dValue)
 
void SetPoissonsRatioZ (double dValue)
 
void SetAlphaX (double dValue, string Units="/K")
 Set the coefficients of thermal expansion for a yarn. More...
 
void SetAlphaY (double dValue, string Units="/K")
 
void SetAlphaZ (double dValue, string Units="/K")
 
void ResetYarnLinearDensity ()
 
void ResetFibreDensity ()
 
void ResetFibreDiameter ()
 
void ResetFibresPerYarn ()
 
void ResetFibreArea ()
 
void ResetYoungsModulusX ()
 
void ResetYoungsModulusY ()
 
void ResetYoungsModulusZ ()
 
void ResetShearModulusXY ()
 
void ResetShearModulusXZ ()
 
void ResetShearModulusYZ ()
 
void ResetAlphaX ()
 
void ResetAlphaY ()
 
void ResetAlphaZ ()
 
void ResetPoissonsRatioX ()
 
void ResetPoissonsRatioY ()
 
void ResetPoissonsRatioZ ()
 
double GetYarnLinearDensity (string Units="kg/m") const
 
double GetFibreDensity (string Units="kg/m^3") const
 
double GetFibreDiameter (string Units="m") const
 
int GetFibresPerYarn () const
 
double GetYoungsModulusX (string Units="MPa") const
 
double GetYoungsModulusY (string Units="MPa") const
 
double GetYoungsModulusZ (string Units="MPa") const
 
double GetShearModulusXY (string Units="MPa") const
 
double GetShearModulusXZ (string Units="MPa") const
 
double GetShearModulusYZ (string Units="MPa") const
 
double GetAlphaX (string Units="/K") const
 
double GetAlphaY (string Units="/K") const
 
double GetAlphaZ (string Units="/K") const
 
double GetPoissonsRatioX () const
 
double GetPoissonsRatioY () const
 
double GetPoissonsRatioZ () const
 

Public Attributes

CProperty m_ArealDensity
 
CProperty m_MatrixYoungsModulus
 
CProperty m_YarnLinearDensity
 
CProperty m_FibreDensity
 
CProperty m_FibreArea
 
CProperty m_FibreDiameter
 
CProperty m_YoungsModulusX
 
CProperty m_YoungsModulusY
 
CProperty m_YoungsModulusZ
 
CProperty m_ShearModulusXY
 
CProperty m_ShearModulusXZ
 
CProperty m_ShearModulusYZ
 
CProperty m_AlphaX
 
CProperty m_AlphaY
 
CProperty m_AlphaZ
 
CProperty m_CalculatedArea
 

Protected Member Functions

int FindTopBinderYarn (vector< PATTERN3D > &Cell)
 Finds cell index of the top binder yarn. More...
 
int AddBinderNodes (int CurrentNode, int i, int j, int Height) const
 Add extra nodes to binder yarns to match shape of adjacent weft yarns. More...
 
virtual int FindBinderHeight (const vector< PATTERN3D > &Cell, int Height) const
 
bool Valid () const
 Check that the weave pattern contained in m_Pattern is valid. More...
 
CSectionPowerEllipseGetWeftCrossSection (int WeftYarnIndex) const
 Adjust cross section shapes to correct interference. More...
 
CSectionGetCrossSection (int YarnIndex, int Node=-1) const
 Gets the cross-section of a yarn, either constant or interp node, power elliptical sections. More...
 
XYZ GetUpVector (XYZ CheckNodes[], bool bYarn) const
 Gets an up vector for a pair of nodes. More...
 
void InsertBinderNode (CSectionPowerEllipse *YarnSection, double t, XYZ &WeftNode, int &CurrentNode, int BinderYarnIndex, double Offset, bool bInsert=true) const
 Calculates a point at given point on power ellipse cross section and inserts into binder yarn. More...
 
void InsertBinderNode (CSection *YarnSection, double t, XYZ &WeftNode, int &CurrentNode, int BinderYarnIndex, double Offset, bool bInsert=true) const
 Calculates a point at given point on cross section and inserts into binder yarn. More...
 
void ReplaceLastNode (int BinderYarnIndex, XYZ &NewNode, XYZ &BinderNode) const
 Replace last node with node offset to match node 0. More...
 
bool AdjustPowerEllipseSectionWidth (double &HeightReduction, double &MaxWidth, double TargetArea, CSectionPowerEllipse *YarnSection) const
 Adjust section to target height whilst maintaining cross-sectional area. More...
 
void FindPowerEllipseSectionHeight (double &MaxHeight, double &TargetArea, CSectionPowerEllipse *YarnSection) const
 
bool AdjustPowerEllipsePower (double &HeightReduction, double TargetArea, CSectionPowerEllipse *YarnSection, double MinPower) const
 
void ReducePowerEllipseHeight (double &TargetArea, CSectionPowerEllipse *YarnSection) const
 
void SetYarnProperties (CYarn &Yarn, int iType) const
 
pair< int, int > GetCellCoordinates (int iIndex) const
 
int FindWeftHeight (const vector< PATTERN3D > &Cell) const
 
int AddWeftNodes (int CurrentNode, int XNode, int i, int j) const
 
void InsertWeftNode (CSection *YarnSection, double t, XYZ &WarpNode, int &CurrentNode, int WeftYarnIndex, double Offset, bool bInsert=true) const
 
int FindWarpAboveIndex (const vector< PATTERN3D > &Cell, int iIndex) const
 
int FindWarpBelowIndex (const vector< PATTERN3D > &Cell, int iIndex) const
 
void RemoveCell (int x, int y)
 
bool CheckCells () const
 Check that all cells are populated. More...
 
bool BinderYarns () const
 Check if any binder yarns in weave. More...
 
int AddYarn (const CYarn &Yarn) const
 
bool BuildTextileIfNeeded () const
 Build the textile only if needed. More...
 
void CleanUp ()
 
void SetDefaultMatrixProperties ()
 Set default matrix properties as specified by DefaultProperties.h. More...
 
void SetDefaultProperties ()
 Set default properties as specified by DefaultProperties.h. More...
 

Protected Attributes

int m_iNumBinderLayers
 
bool m_bShapeBinders
 
CPatternDraft m_PatternDraft
 Class for generating pattern draft from weave pattern. More...
 
int m_iNumXYarns
 
int m_iNumYYarns
 
int m_iWarpRatio
 
int m_iBinderRatio
 
vector< bool > m_BinderPattern
 
int m_iTotalXYarns
 
vector< vector< PATTERN3D > > m_Pattern
 
double m_dGapSize
 
double m_dFabricThickness
 
double m_dMaxVolumeFraction
 
int m_iResolution
 
CObjectContainer< CSectionMeshm_pSectionMesh
 
double m_dMinZ
 
double m_dMaxZ
 
double m_dWarpPower
 
double m_dWeftPower
 
double m_dBinderPower
 
bool m_bRefine
 
CProperties m_Properties [3]
 
bool m_bWeftRepeat
 
vector< YARNDATAm_XYarnData
 
vector< YARNDATAm_YYarnData
 
vector< vector< int > > m_XYarns
 
vector< vector< int > > m_YYarns
 
vector< CYarnm_Yarns
 Vector of yarns contained within this cell. More...
 
bool m_bNeedsBuilding
 Variable which keeps track of wether the textile needs building or not. More...
 
CObjectContainer< CDomainm_pDomain
 
string m_GeometryScale
 
double m_MatrixPoissonsRatio
 
double m_MatrixAlpha
 
int m_iFibresPerYarn
 
double m_PoissonsRatioX
 
double m_PoissonsRatioY
 
double m_PoissonsRatioZ
 

Detailed Description

Represents a 3D layer to layer woven textile There may be multiple binder yarns in any stack and these are constrained to follow parallel paths through the textile

Definition at line 30 of file TextileLayerToLayer.h.

Constructor & Destructor Documentation

◆ CTextileLayerToLayer() [1/2]

CTextileLayerToLayer::CTextileLayerToLayer ( int  iNumXYarns,
int  iNumYYarns,
double  dXSpacing,
double  dYSpacing,
double  dXHeight,
double  dYHeight,
int  iNumBinderLayers,
bool  bShapeBinders = true 
)

Build a weave unit cell of given width, height, yarn spacing and fabric thickness.

Parameters
iNumXYarnsTotal number of warp and binder yarns parallel to x-axis
iNumYYarnsTotal number of weft yarns parallel to y-axis
dXSpacingSpacing of x yarns, centred on yarn
dYSpacingSpacing of y yarns, centred on yarn
dXHeightWarp yarn height
dYHeightWeft yarn height
iNumBinderLayersThe number of binder layers alternating with wefts in the stack

Definition at line 27 of file TextileLayerToLayer.cpp.

References m_bShapeBinders, and m_iNumBinderLayers.

◆ CTextileLayerToLayer() [2/2]

CTextileLayerToLayer::CTextileLayerToLayer ( TiXmlElement &  Element)

Definition at line 34 of file TextileLayerToLayer.cpp.

References m_iNumBinderLayers.

◆ ~CTextileLayerToLayer()

CTextileLayerToLayer::~CTextileLayerToLayer ( void  )
virtual

Definition at line 40 of file TextileLayerToLayer.cpp.

Member Function Documentation

◆ AddBinderLayer()

void CTextile3DWeave::AddBinderLayer ( )
inherited

◆ AddBinderNodes()

int CTextileLayerToLayer::AddBinderNodes ( int  CurrentNode,
int  i,
int  j,
int  Height 
) const
protected

◆ AddCentrePlaneToMesh()

void CTextile::AddCentrePlaneToMesh ( CMesh Mesh,
bool  bTrimToDomain = false 
)
inherited

Create centre plane mesh for this textile and add it to the mesh object.

Parameters
MeshMesh to add elements to
bTrimToDomainMesh inserted will be clipped to the domain size

Definition at line 319 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CTextile::m_pDomain, and TexGen::CTextile::m_Yarns.

◆ AddNodesToMesh()

void CTextile::AddNodesToMesh ( CMesh Mesh)
inherited

Add the master nodes to the mesh.

Definition at line 165 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.

◆ AddNoYarnLayer()

void CTextile3DWeave::AddNoYarnLayer ( )
inherited

◆ AddPathToMesh()

void CTextile::AddPathToMesh ( CMesh Mesh)
inherited

Add yarn centerline path to mesh.

Definition at line 176 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.

◆ AddSurfaceToMesh() [1/2]

void CTextile::AddSurfaceToMesh ( CMesh Mesh,
bool  bTrimToDomain = false 
)
inherited

Create surface mesh for this textile and add it to the mesh object.

Parameters
MeshMesh to add elements to
bTrimToDomainMesh inserted will be clipped to the domain size

Definition at line 187 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CTextile::m_pDomain, and TexGen::CTextile::m_Yarns.

Referenced by TexGen::CSurfaceMesh::SaveSurfaceMesh(), and TexGen::CTetgenMesh::SaveTetgenMesh().

◆ AddSurfaceToMesh() [2/2]

bool CTextile::AddSurfaceToMesh ( CMesh Mesh,
vector< CMesh > &  DomainMeshes,
bool  bTrimToDomain = false 
)
inherited

Create surface mesh for this textile and add it to the mesh object Create meshes for domain plane faces with yarn intersection polygons included

Parameters
MeshMesh to add elements to
bTrimToDomainMesh inserted will be clipped to the domain size
DomainMeshesVector of meshes, one for each face of the domain

Definition at line 201 of file Textile.cpp.

References TexGen::CMesh::AddElement(), TexGen::CMesh::AddNode(), TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CMesh::ConvertTriToQuad(), TexGen::CMesh::GetIndices(), TexGen::CMesh::GetNode(), TexGen::CMesh::GetNumNodes(), TexGen::CTextile::m_pDomain, TexGen::CTextile::m_Yarns, TexGen::CMesh::NUM_ELEMENT_TYPES, TexGen::CMesh::POLYGON, and TGERROR.

◆ AddVolumeToMesh() [1/2]

void CTextile::AddVolumeToMesh ( CMesh Mesh,
bool  bTrimToDomain = false 
)
inherited

Create volume mesh for this textile and add it to the mesh object.

Parameters
MeshMesh to add elements to
bTrimToDomainMesh inserted will be clipped to the domain size

Definition at line 287 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CTextile::m_pDomain, and TexGen::CTextile::m_Yarns.

◆ AddVolumeToMesh() [2/2]

void CTextile::AddVolumeToMesh ( vector< CMesh > &  YarnMeshes,
bool  bTrimToDomain = false 
)
inherited

Create volume mesh for each yarn in this textile and add to a vector of meshes.

Parameters
YarnMeshesVector of meshes, one for each yarn, to add elements to
bTrimToDomainMesh inserted will be clipped to the domain size

Definition at line 301 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CTextile::m_pDomain, and TexGen::CTextile::m_Yarns.

Referenced by TexGen::CAdjustMeshInterference::AdjustTextileMesh(), and TexGen::CSimulationAbaqus::CreateAbaqusInputFile().

◆ AddWarpLayer()

void CTextile3DWeave::AddWarpLayer ( )
inherited

◆ AddWeftNodes()

int CTextile3DWeave::AddWeftNodes ( int  CurrentNode,
int  XNode,
int  i,
int  j 
) const
protectedinherited

◆ AddXLayers() [1/2]

void CTextile3DWeave::AddXLayers ( int  iNumberLayers = 1)
inherited

Add given number of yarns parallel to the X axis.

Definition at line 1550 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::AddXLayers(), and TexGen::CTextile3DWeave::m_iNumXYarns.

◆ AddXLayers() [2/2]

void CTextile3DWeave::AddXLayers ( int  y,
int  iNumberLayers 
)
inherited

◆ AddXYarn()

void CTextile3DWeave::AddXYarn ( int  y,
PATTERN3D  Pattern 
)
inherited

◆ AddYarn() [1/2]

int CTextile::AddYarn ( const CYarn Yarn)
inherited

◆ AddYarn() [2/2]

int CTextile::AddYarn ( const CYarn Yarn) const
protectedinherited

Definition at line 137 of file Textile.cpp.

References TexGen::CTextile::m_Yarns.

◆ AddYLayers() [1/2]

void CTextile3DWeave::AddYLayers ( int  iNumberLayers = 1)
inherited

Add given number of yarns parallel to the Y axis.

Definition at line 1541 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::AddYLayers(), and TexGen::CTextile3DWeave::m_iNumYYarns.

◆ AddYLayers() [2/2]

void CTextile3DWeave::AddYLayers ( int  x,
int  iNumberLayers 
)
inherited

◆ AddYYarn()

void CTextile3DWeave::AddYYarn ( int  x,
PATTERN3D  Pattern 
)
inherited

◆ AdjustPowerEllipsePower()

bool CTextile3DWeave::AdjustPowerEllipsePower ( double &  HeightReduction,
double  TargetArea,
CSectionPowerEllipse YarnSection,
double  MinPower 
) const
protectedinherited

◆ AdjustPowerEllipseSectionWidth()

bool CTextile3DWeave::AdjustPowerEllipseSectionWidth ( double &  HeightReduction,
double &  MaxWidth,
double  TargetArea,
CSectionPowerEllipse YarnSection 
) const
protectedinherited

Adjust section to target height whilst maintaining cross-sectional area.

If width required to maintain area exceeds MaxWidth, sets Width to MaxWidth and returns false Returns true if achieve area and width < MaxWidth

Definition at line 2471 of file Textile3DWeave.cpp.

References TexGen::CSection::GetArea(), TexGen::CSectionPowerEllipse::GetHeight(), TexGen::CSection::GetPoints(), TexGen::CSectionPowerEllipse::GetPower(), TexGen::CSectionPowerEllipse::GetWidth(), TexGen::CSectionPowerEllipse::SetWidth(), and TOL.

Referenced by TexGen::CTextileOrthogonal::AdjustBinderYarnSection(), TexGen::CTextileOrthogonal::AdjustMidLayerHeights(), TexGen::CTextileOrthogonal::AdjustWeftHeight(), and TexGen::CTextileOrthogonal::AdjustWeftToFitBinderHeight().

◆ AssignDefaultDomain()

void CTextile3DWeave::AssignDefaultDomain ( bool  bAddedDomainHeight = true)
inherited

Get the default domain and assign it as the domain.

This is the same as AssignDomain(GetDefaultDomain))

Definition at line 1347 of file Textile3DWeave.cpp.

References TexGen::CTextile::AssignDomain(), and TexGen::CTextile3DWeave::GetDefaultDomain().

◆ AssignDomain()

void CTextile::AssignDomain ( const CDomain Domain)
inherited

Assign a domain to the textile, will be used by default to trim the domain.

Definition at line 724 of file Textile.cpp.

References TexGen::CTextile::m_pDomain.

Referenced by TexGen::CTextile3DWeave::AssignDefaultDomain(), TexGen::CTextileWeave::AssignDefaultDomain(), and TexGen::CTextile3DWeave::SetDomainZValues().

◆ AssignSectionMesh()

void CTextile3DWeave::AssignSectionMesh ( const CSectionMesh SectionMesh)
inherited

Assign a section mesh to the weave.

Definition at line 779 of file Textile3DWeave.cpp.

References TexGen::CTextile::m_bNeedsBuilding, and TexGen::CTextile3DWeave::m_pSectionMesh.

◆ BinderYarns()

bool CTextile3DWeave::BinderYarns ( ) const
protectedinherited

Check if any binder yarns in weave.

Definition at line 1748 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_BinderPattern.

Referenced by TexGen::CTextile3DWeave::BuildTextile().

◆ BuildLayerToLayerTextile()

bool CTextileLayerToLayer::BuildLayerToLayerTextile ( ) const

◆ BuildTextile()

bool CTextileLayerToLayer::BuildTextile ( ) const
virtual

Build the textile.

Reimplemented from TexGen::CTextile3DWeave.

Reimplemented in TexGen::CTextileDecoupledLToL.

Definition at line 399 of file TextileLayerToLayer.cpp.

References BuildLayerToLayerTextile(), m_bShapeBinders, and ShapeBinderYarns().

◆ BuildTextileIfNeeded()

bool CTextile::BuildTextileIfNeeded ( ) const
protectedinherited

Build the textile only if needed.

Note: This is only relavant for classes which derive from CTextile and handle the construction of yarns automatically. Note that it may seem strange that this function should be declared as const, but it is to allow dynamic building of the textile when necessary even from within const functions.

Definition at line 710 of file Textile.cpp.

References TexGen::CTextile::BuildTextile(), and TexGen::CTextile::m_bNeedsBuilding.

Referenced by TexGen::CTextile::AddCentrePlaneToMesh(), TexGen::CTextile::AddNodesToMesh(), TexGen::CTextile::AddPathToMesh(), TexGen::CTextile::AddSurfaceToMesh(), TexGen::CTextile::AddVolumeToMesh(), TexGen::CTextile3DWeave::CheckUpVectors(), TexGen::CTextile::DetectInterference(), TexGen::CTextile::GetApproximateSize(), TexGen::CTextile::GetDomainVolumeFraction(), TexGen::CTextile::GetFibreVolume(), TexGen::CTextile::GetFibreVolumePerUnitArea(), TexGen::CTextile::GetFibreYarnVolumeFraction(), TexGen::CTextile::GetNumYarns(), TexGen::CTextile::GetPointInformation(), TexGen::CTextile::GetQuickDomainVolumeFraction(), TexGen::CTextile3DWeave::GetXYarns(), TexGen::CTextileWeave::GetXYarns(), TexGen::CTextile::GetYarn(), TexGen::CTextile::GetYarnLength(), TexGen::CTextile::GetYarnLengthPerUnitArea(), TexGen::CTextile::GetYarns(), TexGen::CTextile::GetYarnVolume(), TexGen::CTextile::GetYarnVolumePerUnitArea(), TexGen::CTextile3DWeave::GetYYarns(), TexGen::CTextileWeave::GetYYarns(), TexGen::CTextile::PopulateTiXmlElement(), TexGen::CTextile::Rotate(), TexGen::CTextile::SetAllYarnsAlphaX(), TexGen::CTextile::SetAllYarnsAlphaY(), TexGen::CTextile::SetAllYarnsAlphaZ(), TexGen::CTextile::SetAllYarnsPoissonsRatioX(), TexGen::CTextile::SetAllYarnsPoissonsRatioY(), TexGen::CTextile::SetAllYarnsPoissonsRatioZ(), TexGen::CTextile::SetAllYarnsShearModulusXY(), TexGen::CTextile::SetAllYarnsShearModulusXZ(), TexGen::CTextile::SetAllYarnsShearModulusYZ(), TexGen::CTextile::SetAllYarnsYoungsModulusX(), TexGen::CTextile::SetAllYarnsYoungsModulusY(), TexGen::CTextile::SetAllYarnsYoungsModulusZ(), TexGen::CTextile3DWeave::SetDomainZValues(), TexGen::CTextile::SetResolution(), and TexGen::CTextile::Translate().

◆ CalculateReedDesign()

void CTextile3DWeave::CalculateReedDesign ( string  Filename)
inherited

◆ CheckCells()

bool CTextile3DWeave::CheckCells ( ) const
protectedinherited

◆ CheckUpVectors()

void CTextile3DWeave::CheckUpVectors ( int  WarpIndex,
bool  Yarn = PATTERN3D_XYARN,
bool  bYarnsIndex = false 
) const
inherited

◆ CleanUp()

void TexGen::CTextile::CleanUp ( )
protectedinherited

Remove all dynamic memory (called by destructor and copy constructor) Not to be used to empty the yarn data for re-use

◆ ConvertToInterpNodes()

bool CTextile::ConvertToInterpNodes ( ) const
inherited

Converts each yarn with constant cross-section to interpolate sections between nodes Sets the section at each node to the original section

Definition at line 1201 of file Textile.cpp.

References TexGen::CTextile::m_Yarns.

Referenced by TexGen::CShearedTextileWeave2D::Refine().

◆ ConvertToPatternDraft()

void CTextileLayerToLayer::ConvertToPatternDraft ( int  iWeftOrder = BOTTOM_TO_TOP)
virtual

◆ Copy()

virtual CTextile * TexGen::CTextileLayerToLayer::Copy ( ) const
inlinevirtual

Reimplemented from TexGen::CTextile3DWeave.

Reimplemented in TexGen::CTextileDecoupledLToL.

Definition at line 49 of file TextileLayerToLayer.h.

◆ DeleteXLayers() [1/2]

void CTextile3DWeave::DeleteXLayers ( int  iNumberLayers = 1)
inherited

Delete given number of yarns parallel to the X axis.

Definition at line 1657 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::DeleteXLayers(), and TexGen::CTextile3DWeave::m_iNumXYarns.

◆ DeleteXLayers() [2/2]

void CTextile3DWeave::DeleteXLayers ( int  y,
int  iNumberLayers 
)
inherited

◆ DeleteYarn()

bool CTextile::DeleteYarn ( int  iIndex)
inherited

Delete an Yarn from the textile.

Parameters
iIndexThe index of the yarn to delete
Returns
false if the index is out of range

Definition at line 152 of file Textile.cpp.

References TexGen::CTextile::m_Yarns.

◆ DeleteYarns()

void CTextile::DeleteYarns ( )
inherited

Delete all Yarns in the textile.

Definition at line 160 of file Textile.cpp.

References TexGen::CTextile::m_Yarns.

◆ DeleteYLayers() [1/2]

void CTextile3DWeave::DeleteYLayers ( int  iNumberLayers = 1)
inherited

Delete given number of yarns parallel to the Y axis.

Definition at line 1648 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::DeleteYLayers(), and TexGen::CTextile3DWeave::m_iNumYYarns.

◆ DeleteYLayers() [2/2]

void CTextile3DWeave::DeleteYLayers ( int  x,
int  iNumberLayers 
)
inherited

◆ DetectInterference()

int CTextile::DetectInterference ( vector< float > &  DistanceToSurface,
vector< int > &  YarnIndex,
bool  bTrimToDomain,
CMesh pInterferingPoints = NULL 
)
inherited

◆ FindBinderHeight()

int CTextileLayerToLayer::FindBinderHeight ( const vector< PATTERN3D > &  Cell,
int  Height 
) const
protectedvirtual

Reimplemented in TexGen::CTextileDecoupledLToL.

Definition at line 745 of file TextileLayerToLayer.cpp.

References TexGen::PATTERN3D_XYARN.

Referenced by AddBinderNodes().

◆ FindMinMaxZ()

void CTextile3DWeave::FindMinMaxZ ( double &  dMinZ,
double &  dMaxZ 
)
virtualinherited

◆ FindNextCellIndex()

int CTextile3DWeave::FindNextCellIndex ( int  index) const
inherited

◆ FindNextYCellIndex()

int CTextile3DWeave::FindNextYCellIndex ( int  Starti,
int  j,
int  k 
) const
inherited

Find next cell in x direction which isn't a noyarn.

Definition at line 1816 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::GetCell(), TexGen::CTextile3DWeave::m_iNumYYarns, and TexGen::PATTERN3D_NOYARN.

Referenced by TexGen::CTextileOrthogonal::BuildWeavePatternTextile().

◆ FindPowerEllipseSectionHeight()

void CTextile3DWeave::FindPowerEllipseSectionHeight ( double &  MaxHeight,
double &  TargetArea,
CSectionPowerEllipse YarnSection 
) const
protectedinherited

◆ FindPrevYCellIndex()

int CTextile3DWeave::FindPrevYCellIndex ( int  Starti,
int  j,
int  k 
) const
inherited

Find next cell in x direction which isn't a noyarn, searching backwards.

Definition at line 1844 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::GetCell(), TexGen::CTextile3DWeave::m_iNumYYarns, and TexGen::PATTERN3D_NOYARN.

Referenced by TexGen::CTextileOrthogonal::BuildWeavePatternTextile().

◆ FindTopBinderYarn()

int CTextileLayerToLayer::FindTopBinderYarn ( vector< PATTERN3D > &  Cell)
protected

Finds cell index of the top binder yarn.

Definition at line 97 of file TextileLayerToLayer.cpp.

References TexGen::PATTERN3D_XYARN.

Referenced by GetBinderOffset(), and MoveBinderYarns().

◆ FindWarpAboveIndex()

int CTextile3DWeave::FindWarpAboveIndex ( const vector< PATTERN3D > &  Cell,
int  iIndex 
) const
protectedinherited

◆ FindWarpBelowIndex()

int CTextile3DWeave::FindWarpBelowIndex ( const vector< PATTERN3D > &  Cell,
int  iIndex 
) const
protectedinherited

◆ FindWeftHeight()

int CTextile3DWeave::FindWeftHeight ( const vector< PATTERN3D > &  Cell) const
protectedinherited

◆ Get3DWeave()

CTextile3DWeave * CTextile::Get3DWeave ( )
inherited

Definition at line 867 of file Textile.cpp.

◆ GetAlphaX()

double CProperties::GetAlphaX ( string  Units = "/K") const
inherited

◆ GetAlphaY()

double CProperties::GetAlphaY ( string  Units = "/K") const
inherited

◆ GetAlphaZ()

double CProperties::GetAlphaZ ( string  Units = "/K") const
inherited

◆ GetAngleInterlockWeave()

CTextileAngleInterlock * CTextile::GetAngleInterlockWeave ( )
inherited

Definition at line 887 of file Textile.cpp.

◆ GetApproximateSize()

double CTextile::GetApproximateSize ( )
inherited

Get an approximate size for the textile.

This is useful for rendering where the size of certain objects rendered should be relative to the approximate size of the textile.

Definition at line 556 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::GetLength(), TexGen::CTextile::m_Yarns, TexGen::Max(), and TexGen::Min().

Referenced by TexGen::CTexGenRenderer::RenderInterference(), TexGen::CTexGenRenderer::RenderNodes(), and TexGen::CTexGenRenderer::RenderPath().

◆ GetArealDensity()

double CPropertiesTextile::GetArealDensity ( string  Units = "kg/m^2") const
inherited

◆ GetAverageWeftYarnHeight()

double CTextile3DWeave::GetAverageWeftYarnHeight ( ) const
inherited

◆ GetAverageWeftYarnSpacing()

virtual double TexGen::CTextile3DWeave::GetAverageWeftYarnSpacing ( ) const
inlinevirtualinherited

Reimplemented in TexGen::CTextileOffsetAngleInterlock.

Definition at line 330 of file Textile3DWeave.h.

◆ GetAverageWeftYarnWidth()

double CTextile3DWeave::GetAverageWeftYarnWidth ( ) const
inherited

◆ GetAverageYarnSpacing()

double TexGen::CTextile3DWeave::GetAverageYarnSpacing ( ) const
inlineinherited

Definition at line 319 of file Textile3DWeave.h.

◆ GetAverageYarnWidth()

double CTextile3DWeave::GetAverageYarnWidth ( ) const
inherited

◆ GetBinderOffset()

int CTextileLayerToLayer::GetBinderOffset ( int  x,
int  y 
)

Finds the offset position of the top binder yarn at the given x,y position.

Definition at line 109 of file TextileLayerToLayer.cpp.

References FindTopBinderYarn(), and TexGen::CTextile3DWeave::GetCell().

◆ GetBinderPower()

double TexGen::CTextile3DWeave::GetBinderPower ( ) const
inlineinherited

Definition at line 328 of file Textile3DWeave.h.

◆ GetCell() [1/2]

vector< PATTERN3D > & CTextile3DWeave::GetCell ( int  x,
int  y 
)
inherited

◆ GetCell() [2/2]

const vector< PATTERN3D > & CTextile3DWeave::GetCell ( int  x,
int  y 
) const
inherited

Definition at line 222 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iNumYYarns, and TexGen::CTextile3DWeave::m_Pattern.

Referenced by TexGen::CTextileAngleInterlock::AddBinderNodes(), TexGen::CTextileOffsetAngleInterlock::AddBinderNodes(), TexGen::CTextileOrthogonal::AddBinderNodes(), AddBinderNodes(), TexGen::CTextileOrthogonal::AddWeftNodes(), TexGen::CTextile3DWeave::AddWeftNodes(), TexGen::CTextile3DWeave::AddXLayers(), TexGen::CTextile3DWeave::AddXYarn(), TexGen::CTextile3DWeave::AddYLayers(), TexGen::CTextile3DWeave::AddYYarn(), TexGen::CTextileOrthogonal::AdjustBinderYarnSection(), TexGen::CTextileOrthogonal::AdjustMidLayerHeights(), TexGen::CTextileOrthogonal::AdjustOuterWeftYarns(), BuildLayerToLayerTextile(), TexGen::CTextile3DWeave::BuildTextile(), TexGen::CTextileAngleInterlock::BuildTextile(), TexGen::CTextileOffsetAngleInterlock::BuildTextile(), TexGen::CTextileOrthogonal::BuildTextile(), TexGen::CTextileOrthogonal::BuildWeavePatternTextile(), TexGen::CTextile3DWeave::CalculateReedDesign(), TexGen::CTextileOrthogonal::CheckBinderWidths(), TexGen::CTextile3DWeave::CheckCells(), TexGen::CTextileDecoupledLToL::CheckUpVectors(), TexGen::CTextileOrthogonal::ConsolidateCells(), TexGen::CTextile3DWeave::ConvertToPatternDraft(), ConvertToPatternDraft(), TexGen::CTextileOrthogonal::ConvertToPatternDraft(), TexGen::CTextileOrthogonal::CorrectCrimpInterference(), TexGen::CShellElementExport::CreateContacts(), TexGen::CSimulationAbaqus::CreateContacts(), TexGen::CTextile3DWeave::DeleteXLayers(), TexGen::CTextile3DWeave::DeleteYLayers(), TexGen::CTextile3DWeave::FindMinMaxZ(), TexGen::CTextileOffsetAngleInterlock::FindMinMaxZ(), TexGen::CTextile3DWeave::FindNextYCellIndex(), TexGen::CTextile3DWeave::FindPrevYCellIndex(), GetBinderOffset(), TexGen::CTextile3DWeave::GetMaxNumLayers(), TexGen::CTextile3DWeave::GetNumXLayers(), TexGen::CTextile3DWeave::GetNumYLayers(), TexGen::CTextileOrthogonal::GetWeavePatternYarnIndex(), TexGen::CTextile3DWeave::GetYarnIndex(), MoveBinderYarns(), SetBinderPosition(), TexGen::CTextileDecoupledLToL::SetBinderPosition(), TexGen::CTextileAngleInterlock::SetBinderYarnPositions(), TexGen::CTextileOffsetAngleInterlock::SetBinderYarnPositions(), TexGen::CTextile3DWeave::SetupWeftRow(), TexGen::CTextileOrthogonal::SetupWeftRow(), TexGen::CTextileOrthogonal::SwapBinderPosition(), TexGen::CTextile3DWeave::SwapPosition(), and TexGen::CTextile3DWeave::Valid().

◆ GetCellCoordinates()

pair< int, int > CTextile3DWeave::GetCellCoordinates ( int  iIndex) const
protectedinherited

◆ GetCrossSection()

CSection * CTextile3DWeave::GetCrossSection ( int  YarnIndex,
int  Node = -1 
) const
protectedinherited

◆ GetDecoupledLToLWeave()

CTextileDecoupledLToL * CTextile::GetDecoupledLToLWeave ( )
inherited

Definition at line 882 of file Textile.cpp.

◆ GetDefaultDomain()

CDomainPlanes CTextile3DWeave::GetDefaultDomain ( bool  bAddedDomainHeight = true)
inherited

◆ GetDefaultName()

string CTextile3DWeave::GetDefaultName ( ) const
virtualinherited

Get the default name to assign to a textile.

Derived classes should have different default names based on the type of textile

Reimplemented from TexGen::CTextile.

Definition at line 1373 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iNumXYarns, TexGen::CTextile3DWeave::m_iNumYYarns, and TexGen::stringify().

◆ GetDomain() [1/2]

CDomain * TexGen::CTextile::GetDomain ( )
inlineinherited

Definition at line 288 of file Textile.h.

◆ GetDomain() [2/2]

const CDomain * TexGen::CTextile::GetDomain ( ) const
inlineinherited

Definition at line 287 of file Textile.h.

Referenced by TexGen::CAdjustMeshInterference::AdjustSectionMeshes(), TexGen::CAdjustMeshInterference::AdjustTextileMesh(), TexGen::CGeometrySolver::AssignFibreDirectionToElements(), TexGen::CPrismVoxelMesh::CalculateVoxelSizes(), TexGen::CRectangularVoxelMesh::CalculateVoxelSizes(), TexGen::CRotatedVoxelMesh::CalculateVoxelSizes(), TexGen::CShearedVoxelMesh::CalculateVoxelSizes(), TexGen::CExporter::ConvertTextile(), TexGen::CSimulationAbaqus::CreateAbaqusInputFile(), TexGen::CBasicVolumes::CreateBasicVolumes(), TexGen::CGeometrySolver::CreateSystem(), TexGen::CShearedTextileWeave2D::CreateTopAndBottomMeshes(), TexGen::CTextileDeformer::DeformTextile(), TexGen::CMesher::FillYarnTangentsData(), TexGen::CPrismVoxelMesh::GetElementMap(), TexGen::COctreeVoxelMesh::OutputPeriodicBoundaries(), TexGen::CStaggeredVoxelMesh::OutputPeriodicBoundaries(), TexGen::CVoxelMesh::OutputPeriodicBoundaries(), TexGen::CShearedTextileWeave2D::Refine(), TexGen::CTexGenRenderer::RefreshYarn(), TexGen::CTexGenRenderer::RenderDomain(), TexGen::CTexGenRenderer::RenderDomainAxes(), TexGen::CTexGenRenderer::RenderGrid(), TexGen::CTexGenRenderer::RenderInterference(), TexGen::CTexGenRenderer::RenderMesh(), TexGen::CTexGenRenderer::RenderTextile(), TexGen::CShellElementExport::SaveShellElementToABAQUS(), TexGen::CSurfaceMesh::SaveSurfaceMesh(), TexGen::CMesher::SaveVolumeMeshToABAQUS(), TexGen::CVoxelMesh::SaveVoxelMesh(), TexGen::COctreeVoxelMesh::SaveVoxelMesh(), and TexGen::CTextile3DWeave::SetDomainZValues().

◆ GetDomainVolumeFraction()

double CTextile::GetDomainVolumeFraction ( )
inherited

◆ GetFabricThickness()

double TexGen::CTextile3DWeave::GetFabricThickness ( ) const
inlineinherited

Definition at line 316 of file Textile3DWeave.h.

◆ GetFibreArea() [1/2]

double CTextile3DWeave::GetFibreArea ( int  iYarnType,
string  Units 
)
inherited

Get the area occupied by fibres given fibre diameter and number of fibres.

Either returns the value stored in m_dFibreArea or calculates it from m_iFibresPerYarn and m_FibreDiameter if they are set OR from m_dYarnLinearDensity and m_dFibreDensity if they are set.

Definition at line 1276 of file Textile3DWeave.cpp.

References TexGen::CProperties::GetFibreArea(), and TexGen::CTextile3DWeave::m_Properties.

Referenced by TexGen::CTextile3DWeave::SetYarnProperties().

◆ GetFibreArea() [2/2]

double CProperties::GetFibreArea ( string  Units = "m^2") const
inherited

Get the area occupied by fibres given fibre diameter and number of fibres.

Either returns the value stored in m_dFibreArea or calculates it from m_iFibresPerYarn and m_FibreDiameter if they are set OR from m_dYarnLinearDensity and m_dFibreDensity if they are set.

Definition at line 251 of file Properties.cpp.

References TexGen::ConvertUnits(), TexGen::CProperty::GetSIValue(), TexGen::CProperty::GetValue(), TexGen::CProperty::IsSet(), TexGen::CProperties::m_CalculatedArea, TexGen::CProperties::m_FibreArea, TexGen::CProperties::m_FibreDensity, TexGen::CProperties::m_FibreDiameter, TexGen::CProperties::m_iFibresPerYarn, TexGen::CProperties::m_YarnLinearDensity, and PI.

Referenced by TexGen::CTextile3DWeave::GetFibreArea(), TexGen::CYarn::GetFibreVolume(), TexGen::CSimulationAbaqus::GetSectionVolumeFraction(), and TexGen::CYarn::PointInsideYarn().

◆ GetFibreDensity()

double CProperties::GetFibreDensity ( string  Units = "kg/m^3") const
inherited

◆ GetFibreDiameter()

double CProperties::GetFibreDiameter ( string  Units = "m") const
inherited

◆ GetFibresPerYarn()

int CProperties::GetFibresPerYarn ( ) const
inherited

◆ GetFibreVolume()

double CTextile::GetFibreVolume ( string  Units = "m^3")
inherited

Calculate the volume of fibre in the yarn, for just the nodes specified.

Calculates the raw volume of fibre without taking account of repeat vectors or unit cell sizes. This only works when the linear density of the yarns and fibre density are specified.

Definition at line 796 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.

Referenced by TexGen::CTextile::GetFibreYarnVolumeFraction().

◆ GetFibreVolumePerUnitArea()

double CTextile::GetFibreVolumePerUnitArea ( string  Units = "m")
inherited

Calculate the volume of fibre per unit area.

Calculates the volume of fibre per unit area of fabric. This only works when the areal density and fibre density is specified. Alternatively if linear density and fibre density is specified calculation will be based on these values.

Definition at line 809 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::ConvertUnits(), TexGen::CProperty::GetSIValue(), TexGen::CProperty::IsSet(), TexGen::CPropertiesTextile::m_ArealDensity, TexGen::CProperties::m_FibreDensity, and TexGen::CTextile::m_Yarns.

Referenced by TexGen::CTextile::GetFibreYarnVolumeFraction().

◆ GetFibreYarnVolumeFraction()

double CTextile::GetFibreYarnVolumeFraction ( )
inherited

Calculates the total fibre volume fraction for all yarns.

Calculates the volume of fibre divided by the volume of yarn. See GetFibreVolume and GetYarnVolume functions for requirements.

Definition at line 838 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CTextile::GetFibreVolume(), TexGen::CTextile::GetFibreVolumePerUnitArea(), TexGen::CTextile::GetYarnVolume(), and TexGen::CTextile::GetYarnVolumePerUnitArea().

◆ GetGapSize()

double TexGen::CTextile3DWeave::GetGapSize ( ) const
inlineinherited

Definition at line 318 of file Textile3DWeave.h.

◆ GetGeometryScale()

string CPropertiesTextile::GetGeometryScale ( ) const
inherited

◆ GetHeight()

double CTextile3DWeave::GetHeight ( ) const
inherited

◆ GetLayeredTextile()

CTextileLayered * CTextile::GetLayeredTextile ( )
inherited

Definition at line 862 of file Textile.cpp.

◆ GetLayerToLayerWeave()

CTextileLayerToLayer * CTextile::GetLayerToLayerWeave ( )
inherited

Definition at line 877 of file Textile.cpp.

◆ GetMatrixAlpha()

double CPropertiesTextile::GetMatrixAlpha ( ) const
inherited

◆ GetMatrixPoissonsRatio()

double CPropertiesTextile::GetMatrixPoissonsRatio ( ) const
inherited

◆ GetMatrixYoungsModulus()

double CPropertiesTextile::GetMatrixYoungsModulus ( string  Units = "MPa") const
inherited

◆ GetMaxNumLayers()

int CTextile3DWeave::GetMaxNumLayers ( ) const
inherited

Retreive the maximum number of layers at any crossover.

Definition at line 1678 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::GetCell(), TexGen::CTextile3DWeave::m_iNumXYarns, and TexGen::CTextile3DWeave::m_iNumYYarns.

◆ GetMaxVolFraction()

double TexGen::CTextile3DWeave::GetMaxVolFraction ( ) const
inlineinherited

Definition at line 317 of file Textile3DWeave.h.

◆ GetName()

string CTextile::GetName ( ) const
inherited

◆ GetNumBinderLayers()

int CTextileLayerToLayer::GetNumBinderLayers ( ) const
virtual

Returns number of binder layers in textile.

Reimplemented from TexGen::CTextile3DWeave.

Definition at line 409 of file TextileLayerToLayer.cpp.

References m_iNumBinderLayers.

◆ GetNumXLayers()

int CTextile3DWeave::GetNumXLayers ( int  y) const
inherited

Retreive the number of yarns parallel to the X axis, with given index y.

Definition at line 1672 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::GetCell(), and TexGen::PATTERN3D_XYARN.

◆ GetNumXYarns()

int TexGen::CTextile3DWeave::GetNumXYarns ( ) const
inlineinherited

◆ GetNumYarns()

int CTextile::GetNumYarns ( ) const
inherited

◆ GetNumYLayers()

int CTextile3DWeave::GetNumYLayers ( int  x) const
inherited

Retreive the number of yarns parallel to the Y axis, with given index x.

Definition at line 1666 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::GetCell(), and TexGen::PATTERN3D_YYARN.

◆ GetNumYYarns()

int TexGen::CTextile3DWeave::GetNumYYarns ( ) const
inlineinherited

◆ GetOrthogonalWeave()

CTextileOrthogonal * CTextile::GetOrthogonalWeave ( )
inherited

Definition at line 872 of file Textile.cpp.

◆ GetPatternDraft()

CPatternDraft & TexGen::CTextile3DWeave::GetPatternDraft ( )
inlineinherited

Definition at line 335 of file Textile3DWeave.h.

◆ GetPointInformation() [1/2]

void CTextile::GetPointInformation ( const vector< XYZ > &  Points,
vector< POINT_INFO > &  PointsInfo,
double  dTolerance = 1e-9 
)
inherited

Get useful information of a list of points.

Pass in a vector of point coordinates, for each point it will be determined if it lies within a yarn. If it does then the yarn index along with the tangent of the yarn at that point will be returned along with its 2D location relative to the yarn center line. If the point doesn't lie within the yarn an index of -1 will be returned.

Parameters
PointsList of points for which the tangents is required
PointsInfoInformation about the point as described in the POINT_INFO structure
dTolerancePoints outside the yarn by a distance less than this tolerance will be considered part of the yarn

Definition at line 410 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::POINT_INFO::dSurfaceDistance, TexGen::POINT_INFO::dVolumeFraction, TexGen::CDomain::GetTranslations(), TexGen::POINT_INFO::iYarnIndex, TexGen::POINT_INFO::Location, TexGen::CTextile::m_Yarns, TexGen::Max(), TexGen::Min(), TexGen::POINT_INFO::Orientation, TexGen::POINT_INFO::Up, and TexGen::POINT_INFO::YarnTangent.

Referenced by TexGen::CSimulationAbaqus::CreateAbaqusInputFile(), TexGen::COctreeVoxelMesh::fillMaterialInfo(), TexGen::CShellElementExport::GetElementInfo(), TexGen::COctreeVoxelMesh::OutputNodes(), TexGen::CPrismVoxelMesh::OutputNodes(), TexGen::CRectangularVoxelMesh::OutputNodes(), TexGen::CRotatedVoxelMesh::OutputNodes(), TexGen::CShearedVoxelMesh::OutputNodes(), TexGen::CTexGenRenderer::RenderGrid(), TexGen::CTetgenMesh::SaveMesh(), TexGen::CTextile::SavePointInformationToVTK(), and TexGen::COctreeVoxelMesh::storePointInfo().

◆ GetPointInformation() [2/2]

void CTextile::GetPointInformation ( const vector< XYZ > &  Points,
vector< POINT_INFO > &  PointsInfo,
int  iYarn,
double  dTolerance = 1e-9,
bool  bSurface = false 
)
inherited

Get information when know which yarn point is in. Saves iterating through entire textile.

Parameters
bSurfacedefault is False. Set to True if getting point information for surface mesh export. Assumes Points are on yarn surface and doesn't do PointInside check

Definition at line 465 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::POINT_INFO::dSurfaceDistance, TexGen::POINT_INFO::dVolumeFraction, TexGen::CDomain::GetTranslations(), TexGen::POINT_INFO::iYarnIndex, TexGen::POINT_INFO::Location, TexGen::CTextile::m_Yarns, TexGen::Max(), TexGen::Min(), TexGen::POINT_INFO::Orientation, TexGen::POINT_INFO::Up, and TexGen::POINT_INFO::YarnTangent.

◆ GetPoissonsRatioX()

double CProperties::GetPoissonsRatioX ( ) const
inherited

◆ GetPoissonsRatioY()

double CProperties::GetPoissonsRatioY ( ) const
inherited

◆ GetPoissonsRatioZ()

double CProperties::GetPoissonsRatioZ ( ) const
inherited

◆ GetQuickDomainVolumeFraction()

double CTextile::GetQuickDomainVolumeFraction ( )
inherited

Calculates the fibre volume fraction for the domain.

Uses the fibre volume fraction for whole yarns which may give inaccuracies where the yarn cross-section varies along its length. Useful for quick approximation as the more accurate GetDomainVolumeFraction may be slow.

Definition at line 1092 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CMesh::CalculateVolume(), TexGen::CTextile::m_pDomain, TexGen::CTextile::m_Yarns, TGERROR, and TOL.

◆ GetRefine()

bool TexGen::CTextile3DWeave::GetRefine ( ) const
inlineinherited

Definition at line 329 of file Textile3DWeave.h.

◆ GetResolution()

int TexGen::CTextile3DWeave::GetResolution ( ) const
inlineinherited

Definition at line 322 of file Textile3DWeave.h.

◆ GetShearModulusXY()

double CProperties::GetShearModulusXY ( string  Units = "MPa") const
inherited

◆ GetShearModulusXZ()

double CProperties::GetShearModulusXZ ( string  Units = "MPa") const
inherited

◆ GetShearModulusYZ()

double CProperties::GetShearModulusYZ ( string  Units = "MPa") const
inherited

◆ GetType()

virtual string TexGen::CTextileLayerToLayer::GetType ( ) const
inlinevirtual

Derived class should return the class name.

Reimplemented from TexGen::CTextile3DWeave.

Reimplemented in TexGen::CTextileDecoupledLToL.

Definition at line 50 of file TextileLayerToLayer.h.

◆ GetUpVector()

XYZ CTextile3DWeave::GetUpVector ( XYZ  CheckNodes[],
bool  bYarn 
) const
protectedinherited

Gets an up vector for a pair of nodes.

Definition at line 2365 of file Textile3DWeave.cpp.

References TexGen::PATTERN3D_XYARN, TexGen::XYZ::x, TexGen::XYZ::y, and TexGen::XYZ::z.

Referenced by TexGen::CTextile3DWeave::CheckUpVectors().

◆ GetWarpPower()

double TexGen::CTextile3DWeave::GetWarpPower ( ) const
inlineinherited

Definition at line 326 of file Textile3DWeave.h.

◆ GetWarpYarnInfo()

void CTextile3DWeave::GetWarpYarnInfo ( int &  iNumBinderYarns,
int &  iNumWarpYarns,
int &  iBinderRatio,
int &  iWarpRatio,
YARNDATA AveWarp,
YARNDATA AveBinder 
) const
inherited

◆ GetWeave()

CTextileWeave * CTextile::GetWeave ( )
inherited

If this textile is a woven textile get a pointer of that type else return NULL.

Internally the function just returns dynamic_cast<CTextileWeave*>(this) This is mainly usefull in the python interface because type casting is not supported in this language.

Definition at line 852 of file Textile.cpp.

◆ GetWeave2D()

CTextileWeave2D * CTextile::GetWeave2D ( )
inherited

Definition at line 857 of file Textile.cpp.

◆ GetWeftCrossSection()

CSectionPowerEllipse * CTextile3DWeave::GetWeftCrossSection ( int  WeftYarnIndex) const
protectedinherited

Adjust cross section shapes to correct interference.

Cross section shapes will be adjusted in order to remove interference, this is done by shrinking the position of the nodes where they interfere. The cross sections are replaced with polygons to provide an interference free shape. Gets the cross section of the weft Currently assumes is a constant power elliptical cross section

Definition at line 1961 of file Textile3DWeave.cpp.

References TexGen::CYarnSectionConstant::GetSection(), TexGen::CTextile3DWeave::GetType(), TexGen::CTextile::m_Yarns, and NULL.

Referenced by TexGen::CTextileAngleInterlock::AddBinderNodes(), TexGen::CTextileOffsetAngleInterlock::AddBinderNodes(), and AddBinderNodes().

◆ GetWeftPower()

double TexGen::CTextile3DWeave::GetWeftPower ( ) const
inlineinherited

Definition at line 327 of file Textile3DWeave.h.

◆ GetWidth()

double CTextile3DWeave::GetWidth ( ) const
virtualinherited

◆ GetXYarnGapSize()

double CTextile3DWeave::GetXYarnGapSize ( int  iIndex) const
inherited

Get the gap size between two yarns parallel to the X axis, with given index.

Definition at line 1026 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iNumXYarns, TexGen::CTextile3DWeave::m_XYarnData, and TGERROR.

◆ GetXYarnHeights()

double CTextile3DWeave::GetXYarnHeights ( int  iIndex) const
inherited

Get the height of the yarn parallel to the X axis, with given index.

Definition at line 946 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iNumXYarns, TexGen::CTextile3DWeave::m_XYarnData, and TGERROR.

◆ GetXYarnIndex()

int CTextile3DWeave::GetXYarnIndex ( int  YarnInd)
inherited

Get the XYarn index (ie the y position) of a yarn given the yarn index.

Definition at line 1734 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_XYarns.

◆ GetXYarns()

vector< CYarn * > CTextile3DWeave::GetXYarns ( int  iIndex)
inherited

◆ GetXYarnSpacings()

double CTextile3DWeave::GetXYarnSpacings ( int  iIndex) const
inherited

Get the spacing of the yarn parallel to the X axis, with given index.

Definition at line 966 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iNumXYarns, TexGen::CTextile3DWeave::m_XYarnData, and TGERROR.

◆ GetXYarnWidths()

double CTextile3DWeave::GetXYarnWidths ( int  iIndex) const
inherited

Get the width of the yarn parallel to the X axis, with given index.

Definition at line 926 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iNumXYarns, TexGen::CTextile3DWeave::m_XYarnData, and TGERROR.

◆ GetYarn() [1/2]

CYarn * CTextile::GetYarn ( int  iIndex)
inherited

◆ GetYarn() [2/2]

const CYarn * CTextile::GetYarn ( int  iIndex) const
inherited

◆ GetYarnIndex()

int CTextile3DWeave::GetYarnIndex ( int  x,
int  y,
int  z 
) const
inherited

◆ GetYarnLength()

double CTextile::GetYarnLength ( string  Units = "m")
inherited

Calculate the total yarn length.

This is the total length of yarn without taking in account of repeat vectors or unit cell sizes. It is calculated from the geometry alone and uses the m_GeometryScale to give the value in the requested units.

Definition at line 734 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.

◆ GetYarnLengthPerUnitArea()

double CTextile::GetYarnLengthPerUnitArea ( string  Units = "/m")
inherited

Calculate the total yarn length per unit area.

Calculates the total length of yarn in the unit cell taking into account the repeat vectors. This function only works when each yarn has two repeat vectors assigned to it, otherwise it does not make sense to obtain a length per unit AREA.

Definition at line 747 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.

◆ GetYarnLinearDensity()

double CProperties::GetYarnLinearDensity ( string  Units = "kg/m") const
inherited

◆ GetYarns() [1/2]

vector< CYarn > & CTextile::GetYarns ( )
inherited

◆ GetYarns() [2/2]

const vector< CYarn > & CTextile::GetYarns ( ) const
inherited

◆ GetYarnVolume()

double CTextile::GetYarnVolume ( string  Units = "m^3")
inherited

Calculate the yarn volume.

This is the raw volume without taking account of repeat vectors or unit cell sizes. It is calculated from the geometry alone and uses the m_GeometryScale to give the value in the requested units.

Definition at line 765 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.

Referenced by TexGen::CTextile::GetFibreYarnVolumeFraction().

◆ GetYarnVolumePerUnitArea()

double CTextile::GetYarnVolumePerUnitArea ( string  Units = "m")
inherited

Calculate the total yarn volume per unit area.

Calculates the volume of yarn in the unit cell taking into account the repeat vectors. This function only works when each yarn has two repeat vectors assigned to it, otherwise it does not make sense to obtain a volume per unit AREA. If 1 repeat vector is given then a volume per unit length would be more suitable, similarly 2 repeat vectors would give a volume per unit volume (i.e. a volume fraction of region occupied by yarns).

Definition at line 778 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.

Referenced by TexGen::CTextile::GetFibreYarnVolumeFraction().

◆ GetYoungsModulusX()

double CProperties::GetYoungsModulusX ( string  Units = "MPa") const
inherited

◆ GetYoungsModulusY()

double CProperties::GetYoungsModulusY ( string  Units = "MPa") const
inherited

◆ GetYoungsModulusZ()

double CProperties::GetYoungsModulusZ ( string  Units = "MPa") const
inherited

◆ GetYYarnGapSize()

double CTextile3DWeave::GetYYarnGapSize ( int  iIndex) const
inherited

Get the gap size between two yarns parallel to the Y axis, with given index.

Definition at line 1042 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iNumYYarns, TexGen::CTextile3DWeave::m_YYarnData, and TGERROR.

◆ GetYYarnHeights()

double CTextile3DWeave::GetYYarnHeights ( int  iIndex) const
inherited

Get the height of the yarn parallel to the Y axis, with given index.

Definition at line 956 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iNumYYarns, TexGen::CTextile3DWeave::m_YYarnData, and TGERROR.

◆ GetYYarns()

vector< CYarn * > CTextile3DWeave::GetYYarns ( int  iIndex)
inherited

◆ GetYYarnSpacings()

double CTextile3DWeave::GetYYarnSpacings ( int  iIndex) const
inherited

Get the spacing of the yarn parallel to the Y axis, with given index.

Definition at line 976 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iNumYYarns, TexGen::CTextile3DWeave::m_YYarnData, and TGERROR.

◆ GetYYarnWidths()

double CTextile3DWeave::GetYYarnWidths ( int  iIndex) const
inherited

Get the width of the yarn parallel to the Y axis, with given index.

Definition at line 936 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iNumYYarns, TexGen::CTextile3DWeave::m_YYarnData, and TGERROR.

◆ InsertBinderNode() [1/2]

void CTextile3DWeave::InsertBinderNode ( CSection YarnSection,
double  t,
XYZ WeftNode,
int &  CurrentNode,
int  BinderYarnIndex,
double  Offset,
bool  bInsert = true 
) const
protectedinherited

Calculates a point at given point on cross section and inserts into binder yarn.

Parameters
YarnSectionThe cross section of the weft yarn
tVaries from 0 to 1 and gives the distance around the circumference
bInsertInsert node if true, replace node if false

Definition at line 2425 of file Textile3DWeave.cpp.

References TexGen::CSection::GetType(), TexGen::CTextile::m_Yarns, TexGen::XYZ::x, TexGen::XY::x, TexGen::XY::y, and TexGen::XYZ::z.

◆ InsertBinderNode() [2/2]

void CTextile3DWeave::InsertBinderNode ( CSectionPowerEllipse YarnSection,
double  t,
XYZ WeftNode,
int &  CurrentNode,
int  BinderYarnIndex,
double  Offset,
bool  bInsert = true 
) const
protectedinherited

Calculates a point at given point on power ellipse cross section and inserts into binder yarn.

Parameters
YarnSectionThe cross section of the weft yarn
tVaries from 0 to 1 and gives the distance around the circumference
bInsertInsert node if true, replace node if false

Definition at line 2408 of file Textile3DWeave.cpp.

References TexGen::CSectionPowerEllipse::GetPoint(), TexGen::CTextile::m_Yarns, TexGen::XYZ::x, TexGen::XY::x, TexGen::XY::y, and TexGen::XYZ::z.

Referenced by TexGen::CTextileAngleInterlock::AddBinderNodes(), TexGen::CTextileOffsetAngleInterlock::AddBinderNodes(), TexGen::CTextileOrthogonal::AddBinderNodes(), and AddBinderNodes().

◆ InsertWeftNode()

void CTextile3DWeave::InsertWeftNode ( CSection YarnSection,
double  t,
XYZ WarpNode,
int &  CurrentNode,
int  WeftYarnIndex,
double  Offset,
bool  bInsert = true 
) const
protectedinherited

◆ IsBinderYarn()

bool CTextile3DWeave::IsBinderYarn ( int  index) const
inherited

Check if X yarn is binder or warp. Returns true if binder.

Definition at line 1722 of file Textile3DWeave.cpp.

References TexGen::BINDER, TexGen::CTextile3DWeave::m_BinderPattern, TexGen::CTextile3DWeave::m_iBinderRatio, TexGen::CTextile3DWeave::m_iWarpRatio, and TexGen::WARP.

Referenced by TexGen::CTextile3DWeave::AddBinderLayer(), TexGen::CTextile3DWeave::AddWarpLayer(), TexGen::CTextileOrthogonal::AdjustBinderYarns(), TexGen::CTextileOrthogonal::AdjustMidLayerHeights(), TexGen::CTextileOrthogonal::AdjustOuterWeftYarns(), BuildLayerToLayerTextile(), TexGen::CTextile3DWeave::BuildTextile(), TexGen::CTextileAngleInterlock::BuildTextile(), TexGen::CTextileOffsetAngleInterlock::BuildTextile(), TexGen::CTextileOrthogonal::BuildTextile(), TexGen::CTextileOrthogonal::BuildWeavePatternTextile(), TexGen::CTextileOrthogonal::CheckBinderWidths(), TexGen::CTextileDecoupledLToL::CheckUpVectors(), TexGen::CTextileOrthogonal::ConsolidateCells(), TexGen::CTextile3DWeave::FindMinMaxZ(), TexGen::CTextileOffsetAngleInterlock::FindMinMaxZ(), TexGen::CTextileOrthogonal::FindNextBinderIndex(), TexGen::CTextile3DWeave::FindNextCellIndex(), TexGen::CTextile3DWeave::GetWarpYarnInfo(), TexGen::CTextile3DWeave::SetBinderYarnHeights(), TexGen::CTextile3DWeave::SetBinderYarnSpacings(), TexGen::CTextile3DWeave::SetBinderYarnWidths(), TexGen::CTextileOrthogonal::SetupWeftRow(), TexGen::CTextile3DWeave::SetWarpYarnHeights(), TexGen::CTextile3DWeave::SetWarpYarnSpacings(), TexGen::CTextile3DWeave::SetWarpYarnWidths(), TexGen::CTextileAngleInterlock::ShapeBinderYarns(), TexGen::CTextileDecoupledLToL::ShapeBinderYarns(), ShapeBinderYarns(), TexGen::CTextileOffsetAngleInterlock::ShapeBinderYarns(), and TexGen::CTextileOrthogonal::ShapeBinderYarns().

◆ MoveBinderYarns()

void CTextileLayerToLayer::MoveBinderYarns ( int  x,
int  y,
int  iLevel1,
int  iLevel2 
)

Move the stack of binder yarns by one position.

Parameters iLevel1 and iLevel2 are used to determine whether the yarn is being moved up or down.

Definition at line 81 of file TextileLayerToLayer.cpp.

References FindTopBinderYarn(), TexGen::CTextile3DWeave::GetCell(), and SetBinderPosition().

◆ NoYarnCell()

bool CTextile3DWeave::NoYarnCell ( vector< PATTERN3D > &  Cell)
inherited

◆ PopulateTiXmlElement()

void CTextileLayerToLayer::PopulateTiXmlElement ( TiXmlElement &  Element,
OUTPUT_TYPE  OutputType 
)
virtual

Used for saving data to XML.

Reimplemented from TexGen::CTextile3DWeave.

Reimplemented in TexGen::CTextileDecoupledLToL.

Definition at line 44 of file TextileLayerToLayer.cpp.

References m_iNumBinderLayers, and TexGen::CTextile3DWeave::PopulateTiXmlElement().

Referenced by TexGen::CTextileDecoupledLToL::PopulateTiXmlElement().

◆ ReducePowerEllipseHeight()

void CTextile3DWeave::ReducePowerEllipseHeight ( double &  TargetArea,
CSectionPowerEllipse YarnSection 
) const
protectedinherited

◆ RemoveCell()

void CTextile3DWeave::RemoveCell ( int  x,
int  y 
)
protectedinherited

◆ RemoveDomain()

void CTextile::RemoveDomain ( )
inherited

Remove the domain.

Definition at line 729 of file Textile.cpp.

References TexGen::CTextile::m_pDomain.

Referenced by TexGen::CTextile3DWeave::SetDomainZValues().

◆ ReplaceLastNode()

void CTextile3DWeave::ReplaceLastNode ( int  BinderYarnIndex,
XYZ NewNode,
XYZ BinderNode 
) const
protectedinherited

◆ ResetAlphaX()

void TexGen::CProperties::ResetAlphaX ( )
inlineinherited

Definition at line 165 of file Properties.h.

◆ ResetAlphaY()

void TexGen::CProperties::ResetAlphaY ( )
inlineinherited

Definition at line 166 of file Properties.h.

◆ ResetAlphaZ()

void TexGen::CProperties::ResetAlphaZ ( )
inlineinherited

Definition at line 167 of file Properties.h.

◆ ResetArealDensity()

void TexGen::CPropertiesTextile::ResetArealDensity ( )
inlineinherited

Definition at line 56 of file PropertiesTextile.h.

◆ ResetFibreArea()

void TexGen::CProperties::ResetFibreArea ( )
inlineinherited

Definition at line 158 of file Properties.h.

◆ ResetFibreDensity()

void TexGen::CProperties::ResetFibreDensity ( )
inlineinherited

Definition at line 155 of file Properties.h.

◆ ResetFibreDiameter()

void TexGen::CProperties::ResetFibreDiameter ( )
inlineinherited

Definition at line 156 of file Properties.h.

◆ ResetFibresPerYarn()

void TexGen::CProperties::ResetFibresPerYarn ( )
inlineinherited

Definition at line 157 of file Properties.h.

◆ ResetPoissonsRatioX()

void TexGen::CProperties::ResetPoissonsRatioX ( )
inlineinherited

Definition at line 168 of file Properties.h.

◆ ResetPoissonsRatioY()

void TexGen::CProperties::ResetPoissonsRatioY ( )
inlineinherited

Definition at line 169 of file Properties.h.

◆ ResetPoissonsRatioZ()

void TexGen::CProperties::ResetPoissonsRatioZ ( )
inlineinherited

Definition at line 170 of file Properties.h.

◆ ResetShearModulusXY()

void TexGen::CProperties::ResetShearModulusXY ( )
inlineinherited

Definition at line 162 of file Properties.h.

◆ ResetShearModulusXZ()

void TexGen::CProperties::ResetShearModulusXZ ( )
inlineinherited

Definition at line 163 of file Properties.h.

◆ ResetShearModulusYZ()

void TexGen::CProperties::ResetShearModulusYZ ( )
inlineinherited

Definition at line 164 of file Properties.h.

◆ ResetYarnLinearDensity()

void TexGen::CProperties::ResetYarnLinearDensity ( )
inlineinherited

Definition at line 154 of file Properties.h.

◆ ResetYoungsModulusX()

void TexGen::CProperties::ResetYoungsModulusX ( )
inlineinherited

Definition at line 159 of file Properties.h.

◆ ResetYoungsModulusY()

void TexGen::CProperties::ResetYoungsModulusY ( )
inlineinherited

Definition at line 160 of file Properties.h.

◆ ResetYoungsModulusZ()

void TexGen::CProperties::ResetYoungsModulusZ ( )
inlineinherited

Definition at line 161 of file Properties.h.

◆ Rotate()

void CTextile::Rotate ( WXYZ  Rotation,
XYZ  Origin = XYZ(0,0,0) 
)
inherited

Rotate the Textile by given quaternion.

Definition at line 333 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.

◆ SavePointInformationToVTK()

void CTextile::SavePointInformationToVTK ( string  Filename,
const CMesh Mesh,
double  dTolerance = 1e-9 
)
inherited

Output point information to VTK.

Makes a call to GetPointInformation and stores the result in a VTK unstructured grid file

Definition at line 521 of file Textile.cpp.

References TexGen::CMeshDataBase::ELEMENT, TexGen::CMesh::GetNodes(), TexGen::CTextile::GetPointInformation(), TexGen::CMeshData< T >::m_Data, and TexGen::CMesh::SaveToVTK().

◆ SetAllYarnsAlphaX()

void CTextile::SetAllYarnsAlphaX ( double  dValue,
string  Units = "/K" 
)
inherited

Set the coefficient of thermal expansion for all yarns in textile.

Definition at line 1020 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.

◆ SetAllYarnsAlphaY()

void CTextile::SetAllYarnsAlphaY ( double  dValue,
string  Units = "/K" 
)
inherited

◆ SetAllYarnsAlphaZ()

void CTextile::SetAllYarnsAlphaZ ( double  dValue,
string  Units = "/K" 
)
inherited

◆ SetAllYarnsPoissonsRatioX()

void CTextile::SetAllYarnsPoissonsRatioX ( double  dValue)
inherited

Set the Poisson's ratio for all yarns in textile.

Definition at line 1056 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.

◆ SetAllYarnsPoissonsRatioY()

void CTextile::SetAllYarnsPoissonsRatioY ( double  dValue)
inherited

◆ SetAllYarnsPoissonsRatioZ()

void CTextile::SetAllYarnsPoissonsRatioZ ( double  dValue)
inherited

◆ SetAllYarnsShearModulusXY()

void CTextile::SetAllYarnsShearModulusXY ( double  dValue,
string  Units = "MPa" 
)
inherited

Set the shear modulus for all yarns in textile.

Definition at line 984 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.

◆ SetAllYarnsShearModulusXZ()

void CTextile::SetAllYarnsShearModulusXZ ( double  dValue,
string  Units = "MPa" 
)
inherited

◆ SetAllYarnsShearModulusYZ()

void CTextile::SetAllYarnsShearModulusYZ ( double  dValue,
string  Units = "MPa" 
)
inherited

◆ SetAllYarnsYoungsModulusX()

void CTextile::SetAllYarnsYoungsModulusX ( double  dValue,
string  Units = "MPa" 
)
inherited

Set the Youngs Modulus for all yarns in textile.

Definition at line 948 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.

◆ SetAllYarnsYoungsModulusY()

void CTextile::SetAllYarnsYoungsModulusY ( double  dValue,
string  Units = "MPa" 
)
inherited

◆ SetAllYarnsYoungsModulusZ()

void CTextile::SetAllYarnsYoungsModulusZ ( double  dValue,
string  Units = "MPa" 
)
inherited

◆ SetAlphaX()

void CProperties::SetAlphaX ( double  dValue,
string  Units = "/K" 
)
inherited

Set the coefficients of thermal expansion for a yarn.

Definition at line 204 of file Properties.cpp.

References TexGen::CProperties::m_AlphaX, and TexGen::CProperty::SetValue().

Referenced by TexGen::CProperties::SetDefaultProperties().

◆ SetAlphaY()

void CProperties::SetAlphaY ( double  dValue,
string  Units = "/K" 
)
inherited

◆ SetAlphaZ()

void CProperties::SetAlphaZ ( double  dValue,
string  Units = "/K" 
)
inherited

◆ SetArealDensity()

void CPropertiesTextile::SetArealDensity ( double  dValue,
string  Units = "kg/m^2" 
)
inherited

Set the areal density, i.e. the mass per unit area of fabric.

Definition at line 83 of file PropertiesTextile.cpp.

References TexGen::CPropertiesTextile::m_ArealDensity, and TexGen::CProperty::SetValue().

◆ SetBinderPattern() [1/2]

void CTextile3DWeave::SetBinderPattern ( )
inherited

◆ SetBinderPattern() [2/2]

void CTextile3DWeave::SetBinderPattern ( vector< bool > &  BinderPattern)
inherited

Setup the binder pattern from a pre-specified vector.

Definition at line 1788 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_BinderPattern.

◆ SetBinderPosition()

void CTextileLayerToLayer::SetBinderPosition ( int  x,
int  y,
int  zOffset 
)

Sets the vertical positions of the binder yarns.

Parameters
zOffsetThe number of binder positions offset from the top of the textile

Definition at line 50 of file TextileLayerToLayer.cpp.

References TexGen::CTextile3DWeave::GetCell(), m_iNumBinderLayers, TexGen::PATTERN3D_NOYARN, TexGen::PATTERN3D_XYARN, and TGERROR.

Referenced by MoveBinderYarns().

◆ SetBinderRatio()

void CTextile3DWeave::SetBinderRatio ( int  iBinderRatio)
inherited

Set the number of binder yarns grouped together.

Definition at line 1764 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iBinderRatio, TexGen::CTextile3DWeave::SetBinderPattern(), and TGERROR.

◆ SetBinderYarnHeights()

void CTextile3DWeave::SetBinderYarnHeights ( double  dHeight)
inherited

Set the height of yarns parallel to the X axis in binder yarn positions.

Definition at line 1131 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::IsBinderYarn(), TexGen::CTextile3DWeave::m_iNumXYarns, and TexGen::CTextile3DWeave::SetXYarnHeights().

◆ SetBinderYarnPower()

void TexGen::CTextile3DWeave::SetBinderYarnPower ( double  dPower)
inlineinherited

Set the power for power ellipse section for yarns parallel to X axis in binder yarn positions.

Definition at line 157 of file Textile3DWeave.h.

◆ SetBinderYarnSpacings()

void CTextile3DWeave::SetBinderYarnSpacings ( double  dWidth)
inherited

Set the spacing of yarns parallel to the X axis in binder yarn positions.

Definition at line 1164 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::IsBinderYarn(), TexGen::CTextile3DWeave::m_iNumXYarns, and TexGen::CTextile3DWeave::SetXYarnSpacings().

◆ SetBinderYarnWidths()

void CTextile3DWeave::SetBinderYarnWidths ( double  dWidth)
inherited

Set the width of yarns parallel to the X axis in binder yarn positions.

Definition at line 1080 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::IsBinderYarn(), TexGen::CTextile3DWeave::m_iNumXYarns, and TexGen::CTextile3DWeave::SetXYarnWidths().

◆ SetDefaultMatrixProperties()

void CPropertiesTextile::SetDefaultMatrixProperties ( )
protectedinherited

◆ SetDefaultProperties()

void CProperties::SetDefaultProperties ( )
protectedinherited

◆ SetDomainZValues()

void CTextile3DWeave::SetDomainZValues ( )
inherited

◆ SetFibreArea() [1/2]

void CProperties::SetFibreArea ( double  dValue,
string  Units = "m^2" 
)
inherited

Set the area occupied by fibres in a yarn cross-section.

If not set it can be calculated from the yarn linear density and fibre density.

Definition at line 140 of file Properties.cpp.

References TexGen::CProperties::m_FibreArea, and TexGen::CProperty::SetValue().

Referenced by TexGen::CTextile3DWeave::SetFibreArea(), and TexGen::CTextile3DWeave::SetYarnProperties().

◆ SetFibreArea() [2/2]

void CTextile3DWeave::SetFibreArea ( int  iYarnType,
double  dValue,
string  Units = "m^2" 
)
inherited

Set the area occupied by fibres in a yarn cross-section.

If not set it can be calculated from the yarn linear density and fibre density.

Parameters
iYarnTypeWARP,WEFT or BINDER

Definition at line 1261 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_Properties, and TexGen::CProperties::SetFibreArea().

◆ SetFibreDensity() [1/2]

void CProperties::SetFibreDensity ( double  dValue,
string  Units = "kg/m^3" 
)
inherited

◆ SetFibreDensity() [2/2]

void CTextile3DWeave::SetFibreDensity ( int  iYarnType,
double  dValue,
string  Units = "kg/m^3" 
)
inherited

Set the fibre density, i.e. the mass per unit volume of fibre.

Parameters
iYarnTypeWARP,WEFT or BINDER

Definition at line 1256 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_Properties, and TexGen::CProperties::SetFibreDensity().

◆ SetFibreDiameter() [1/2]

void CProperties::SetFibreDiameter ( double  dValue,
string  Units = "m" 
)
inherited

◆ SetFibreDiameter() [2/2]

void CTextile3DWeave::SetFibreDiameter ( int  iYarnType,
double  dValue,
string  Units = "m" 
)
inherited

Set the fibre diameter Set the number of fibres per yarn

Parameters
iYarnTypeWARP,WEFT or BINDER

Definition at line 1271 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_Properties, and TexGen::CProperties::SetFibreDiameter().

◆ SetFibresPerYarn() [1/2]

void CProperties::SetFibresPerYarn ( int  iValue)
inherited

◆ SetFibresPerYarn() [2/2]

void CTextile3DWeave::SetFibresPerYarn ( int  iYarnType,
int  iNumFibres 
)
inherited

Set the number of fibres per yarn.

Parameters
iYarnTypeWARP,WEFT or BINDER

Definition at line 1266 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_Properties, and TexGen::CProperties::SetFibresPerYarn().

◆ SetGapSize()

void CTextile3DWeave::SetGapSize ( double  dGapSize)
inherited

Set the size of the gap to leave between yarns when correcting interference.

Definition at line 767 of file Textile3DWeave.cpp.

References TexGen::CTextile::m_bNeedsBuilding, and TexGen::CTextile3DWeave::m_dGapSize.

◆ SetGeometryScale()

bool CPropertiesTextile::SetGeometryScale ( string  Units)
inherited

Set the scale of the geometry.

If 1 unit represents 1 mm in real world units then the geometry scale should be set to Units::mm. By default the geometry scale is set to millimetres.

Definition at line 68 of file PropertiesTextile.cpp.

References TexGen::CompatibleUnits(), TexGen::CPropertiesTextile::m_GeometryScale, and TGERROR.

◆ SetMatrixAlpha()

void CPropertiesTextile::SetMatrixAlpha ( double  dValue)
inherited

Set the coefficient of thermal expansion for the matrix.

Definition at line 108 of file PropertiesTextile.cpp.

References TexGen::CPropertiesTextile::m_MatrixAlpha.

Referenced by TexGen::CPropertiesTextile::SetDefaultMatrixProperties().

◆ SetMatrixPoissonsRatio()

void CPropertiesTextile::SetMatrixPoissonsRatio ( double  dValue)
inherited

Set the Poisson's ration for matrix.

Definition at line 103 of file PropertiesTextile.cpp.

References TexGen::CPropertiesTextile::m_MatrixPoissonsRatio.

Referenced by TexGen::CPropertiesTextile::SetDefaultMatrixProperties().

◆ SetMatrixYoungsModulus()

void CPropertiesTextile::SetMatrixYoungsModulus ( double  dValue,
string  Units = "MPa" 
)
inherited

◆ SetMaxVolFraction()

void CTextile3DWeave::SetMaxVolFraction ( double  dVolFraction)
inherited

Set the maximum yarn volume fraction for use in refinement.

Definition at line 761 of file Textile3DWeave.cpp.

References TexGen::CTextile::m_bNeedsBuilding, and TexGen::CTextile3DWeave::m_dMaxVolumeFraction.

◆ SetPoissonsRatio()

void CProperties::SetPoissonsRatio ( double  dValue)
inherited

◆ SetPoissonsRatioX()

void CProperties::SetPoissonsRatioX ( double  dValue)
inherited

◆ SetPoissonsRatioY()

void CProperties::SetPoissonsRatioY ( double  dValue)
inherited

◆ SetPoissonsRatioZ()

void CProperties::SetPoissonsRatioZ ( double  dValue)
inherited

◆ SetResolution()

void CTextile3DWeave::SetResolution ( int  iResolution)
inherited

Set the resolution of the yarns.

Definition at line 773 of file Textile3DWeave.cpp.

References TexGen::CTextile::m_bNeedsBuilding, and TexGen::CTextile3DWeave::m_iResolution.

◆ SetShearModulusXY()

void CProperties::SetShearModulusXY ( double  dValue,
string  Units = "MPa" 
)
inherited

Set the Shear modulus for a yarn.

Definition at line 189 of file Properties.cpp.

References TexGen::CProperties::m_ShearModulusXY, and TexGen::CProperty::SetValue().

Referenced by TexGen::CProperties::SetDefaultProperties().

◆ SetShearModulusXZ()

void CProperties::SetShearModulusXZ ( double  dValue,
string  Units = "MPa" 
)
inherited

◆ SetShearModulusYZ()

void CProperties::SetShearModulusYZ ( double  dValue,
string  Units = "MPa" 
)
inherited

◆ SetThickness()

void CTextile3DWeave::SetThickness ( double  dThickness)
inherited

Set the thickness of the fabric.

Parameters
dThicknessNew fabric thickness to assign

Definition at line 755 of file Textile3DWeave.cpp.

References TexGen::CTextile::m_bNeedsBuilding, and TexGen::CTextile3DWeave::m_dFabricThickness.

◆ SetupLayers()

void CTextileLayerToLayer::SetupLayers ( int  iNumWarpLayers,
int  iNumWeftLayers,
int  iNumBinderLayers = 1 
)
virtual

Set up the sequence of layers in the textile for the required number of warp, weft and binder yarn layers.

Parameters
iNumWarpLayersNumber of warps in the stack
iNumWeftLayersNumber of wefts in the stack
iNumBinderLayersNumber of binder yarns layered between weft yarns

Reimplemented from TexGen::CTextile3DWeave.

Definition at line 118 of file TextileLayerToLayer.cpp.

References TexGen::CTextile3DWeave::AddBinderLayer(), TexGen::CTextile3DWeave::AddNoYarnLayer(), TexGen::CTextile3DWeave::AddWarpLayer(), TexGen::CTextile3DWeave::AddXLayers(), TexGen::CTextile3DWeave::AddYLayers(), and TGERROR.

◆ SetupWeftRow()

void CTextile3DWeave::SetupWeftRow ( vector< int > &  Layers,
vector< int > &  Row,
int  NumWarps,
int  Weft 
)
virtualinherited

Set up row of pattern cells for one weft pattern using one row of weave pattern data and the layers pattern for the weave.

Parameters
LayersVector defining pattern of warp layers and binder yarns
RowThe warp lift pattern for one weft insertion
WeftDefines which weft insertion is being defines (numbered from bottom of pattern draft)

Reimplemented in TexGen::CTextileOrthogonal.

Definition at line 2720 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::GetCell(), TexGen::CTextile::m_bNeedsBuilding, TexGen::CTextile3DWeave::m_iTotalXYarns, TexGen::PATTERN3D_NOYARN, TexGen::PATTERN3D_XYARN, TexGen::PATTERN3D_YYARN, and TGERROR.

◆ SetWarpRatio()

void CTextile3DWeave::SetWarpRatio ( int  iWarpRatio)
inherited

Set the number of warp yarns grouped together.

Definition at line 1758 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iWarpRatio, and TexGen::CTextile3DWeave::SetBinderPattern().

◆ SetWarpYarnHeights()

void CTextile3DWeave::SetWarpYarnHeights ( double  dHeight)
inherited

Set the height of yarns parallel to the X axis in warp yarn positions.

Definition at line 1119 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::IsBinderYarn(), TexGen::CTextile3DWeave::m_iNumXYarns, and TexGen::CTextile3DWeave::SetXYarnHeights().

◆ SetWarpYarnPower()

void TexGen::CTextile3DWeave::SetWarpYarnPower ( double  dPower)
inlineinherited

Set the power for power ellipse section for yarns parallel to X axis in warp yarn positions.

Definition at line 155 of file Textile3DWeave.h.

◆ SetWarpYarnSpacings()

void CTextile3DWeave::SetWarpYarnSpacings ( double  dWidth)
inherited

Set the spacing of yarns parallel to the X axis in warp yarn positions.

Definition at line 1152 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::IsBinderYarn(), TexGen::CTextile3DWeave::m_iNumXYarns, and TexGen::CTextile3DWeave::SetXYarnSpacings().

◆ SetWarpYarnWidths()

void CTextile3DWeave::SetWarpYarnWidths ( double  dWidth)
inherited

Set the width of yarns parallel to the X axis in warp yarn positions.

Definition at line 1068 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::IsBinderYarn(), TexGen::CTextile3DWeave::m_iNumXYarns, and TexGen::CTextile3DWeave::SetXYarnWidths().

◆ SetWeftRepeat()

void TexGen::CTextile3DWeave::SetWeftRepeat ( bool  WeftRepeat)
inlineinherited

Definition at line 334 of file Textile3DWeave.h.

◆ SetWeftYarnPower()

void TexGen::CTextile3DWeave::SetWeftYarnPower ( double  dPower)
inlineinherited

Set the power for power ellipse section for yarns parallel to Y axis.

Definition at line 153 of file Textile3DWeave.h.

◆ SetXYarnHeights() [1/2]

void CTextile3DWeave::SetXYarnHeights ( double  dHeight)
inherited

Set the height of all the yarns parallel to the X axis.

Definition at line 1101 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iNumXYarns, and TexGen::CTextile3DWeave::SetXYarnHeights().

◆ SetXYarnHeights() [2/2]

void CTextile3DWeave::SetXYarnHeights ( int  iIndex,
double  dHeight 
)
inherited

◆ SetXYarnSpacings() [1/2]

void CTextile3DWeave::SetXYarnSpacings ( double  dSpacing)
inherited

Set the spacing of all the yarns parallel to the X axis.

Definition at line 1143 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iNumXYarns, and TexGen::CTextile3DWeave::SetXYarnSpacings().

◆ SetXYarnSpacings() [2/2]

void CTextile3DWeave::SetXYarnSpacings ( int  iIndex,
double  dSpacing 
)
inherited

◆ SetXYarnWidths() [1/2]

void CTextile3DWeave::SetXYarnWidths ( double  dWidth)
inherited

Set the width of all the yarns parallel to the X axis.

Definition at line 1059 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iNumXYarns, and TexGen::CTextile3DWeave::SetXYarnWidths().

◆ SetXYarnWidths() [2/2]

void CTextile3DWeave::SetXYarnWidths ( int  iIndex,
double  dWidth 
)
inherited

◆ SetYarnHeights()

void CTextile3DWeave::SetYarnHeights ( double  dHeight)
inherited

Set the height of all the yarns in the textile.

Definition at line 1287 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::SetXYarnHeights(), and TexGen::CTextile3DWeave::SetYYarnHeights().

◆ SetYarnLinearDensity() [1/2]

void CProperties::SetYarnLinearDensity ( double  dValue,
string  Units = "kg/m" 
)
inherited

Set the fibre linear density, i.e. the mass per unit length of fibre.

Suppose 1 meter length of yarn weighs X kg, it's linear density is X kg/m

Definition at line 120 of file Properties.cpp.

References TexGen::CProperty::GetSIValue(), TexGen::CProperty::IsSet(), TexGen::CProperties::m_CalculatedArea, TexGen::CProperties::m_FibreDensity, TexGen::CProperties::m_YarnLinearDensity, and TexGen::CProperty::SetValue().

Referenced by TexGen::CTextile3DWeave::SetYarnLinearDensity(), and TexGen::CTextile3DWeave::SetYarnProperties().

◆ SetYarnLinearDensity() [2/2]

void CTextile3DWeave::SetYarnLinearDensity ( int  iYarnType,
double  dValue,
string  Units = "kg/m" 
)
inherited

Set the fibre linear density, i.e. the mass per unit length of fibre.

Suppose 1 meter length of yarn weighs X kg, it's linear density is X kg/m

Parameters
iYarnTypeWARP,WEFT or BINDER

Definition at line 1251 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_Properties, and TexGen::CProperties::SetYarnLinearDensity().

◆ SetYarnProperties()

void CTextile3DWeave::SetYarnProperties ( CYarn Yarn,
int  iType 
) const
protectedinherited

◆ SetYarnSpacings()

void CTextile3DWeave::SetYarnSpacings ( double  dSpacing)
inherited

Set the spacing of all the yarns in the textile.

Definition at line 1293 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::SetXYarnSpacings(), and TexGen::CTextile3DWeave::SetYYarnSpacings().

◆ SetYarnWidths()

void CTextile3DWeave::SetYarnWidths ( double  dWidth)
inherited

Set the width of all the yarns in the textile.

Definition at line 1281 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::SetXYarnWidths(), and TexGen::CTextile3DWeave::SetYYarnWidths().

◆ SetYoungsModulus()

void CProperties::SetYoungsModulus ( double  dValue,
string  Units = "MPa" 
)
inherited

◆ SetYoungsModulusX()

void CProperties::SetYoungsModulusX ( double  dValue,
string  Units = "MPa" 
)
inherited

◆ SetYoungsModulusY()

void CProperties::SetYoungsModulusY ( double  dValue,
string  Units = "MPa" 
)
inherited

◆ SetYoungsModulusZ()

void CProperties::SetYoungsModulusZ ( double  dValue,
string  Units = "MPa" 
)
inherited

◆ SetYYarnHeights() [1/2]

void CTextile3DWeave::SetYYarnHeights ( double  dHeight)
inherited

Set the height of all the yarns parallel to the Y axis.

Definition at line 1110 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iNumYYarns, and TexGen::CTextile3DWeave::SetYYarnHeights().

◆ SetYYarnHeights() [2/2]

void CTextile3DWeave::SetYYarnHeights ( int  iIndex,
double  dHeight 
)
inherited

◆ SetYYarnSpacings() [1/2]

void CTextile3DWeave::SetYYarnSpacings ( double  dSpacing)
inherited

Set the spacing of all the yarns parallel to the Y axis.

Definition at line 1176 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iNumYYarns, and TexGen::CTextile3DWeave::SetYYarnSpacings().

◆ SetYYarnSpacings() [2/2]

void CTextile3DWeave::SetYYarnSpacings ( int  iIndex,
double  dSpacing 
)
inherited

◆ SetYYarnWidths() [1/2]

void CTextile3DWeave::SetYYarnWidths ( double  dWidth)
inherited

Set the width of all the yarns parallel to the Y axis.

Definition at line 1092 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::m_iNumYYarns, and TexGen::CTextile3DWeave::SetYYarnWidths().

◆ SetYYarnWidths() [2/2]

void CTextile3DWeave::SetYYarnWidths ( int  iIndex,
double  dWidth 
)
inherited

Set the width of the yarn parallel to the Y axis, with given index.

Definition at line 826 of file Textile3DWeave.cpp.

References TexGen::CTextile::m_bNeedsBuilding, TexGen::CTextile3DWeave::m_iNumYYarns, TexGen::CTextile3DWeave::m_YYarnData, and TGERROR.

Referenced by TexGen::CTextile3DWeave::SetYarnWidths(), and TexGen::CTextile3DWeave::SetYYarnWidths().

◆ ShapeBinderYarns()

void CTextileLayerToLayer::ShapeBinderYarns ( ) const

◆ ShapeWeftYarns()

void CTextile3DWeave::ShapeWeftYarns ( ) const
inherited

Adds nodes to weft yarns to avoid intersections where they pass around warps Only useful where Textile3DWeave base class is used. Inherited classes assume weft yarns are straight

Definition at line 1994 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::AddWeftNodes(), TexGen::CTextile3DWeave::CheckUpVectors(), TexGen::CTextile::m_bNeedsBuilding, TexGen::CTextile3DWeave::m_iNumXYarns, TexGen::CTextile3DWeave::m_iNumYYarns, and TexGen::PATTERN3D_YYARN.

Referenced by TexGen::CTextile3DWeave::BuildTextile().

◆ SwapPosition()

void CTextile3DWeave::SwapPosition ( int  x,
int  y,
int  iLevel1,
int  iLevel2 
)
inherited

Swap the positions of two yarns in the patter with given index x, y and level iLevel1, iLevel2.

Definition at line 1692 of file Textile3DWeave.cpp.

References TexGen::CTextile3DWeave::GetCell(), TexGen::CTextile::m_bNeedsBuilding, TexGen::CTextile3DWeave::m_iNumXYarns, TexGen::CTextile3DWeave::m_iNumYYarns, and TGERROR.

◆ Translate()

void CTextile::Translate ( XYZ  Vector)
inherited

Translate the Textile by given vector.

Definition at line 344 of file Textile.cpp.

References TexGen::CTextile::BuildTextileIfNeeded(), and TexGen::CTextile::m_Yarns.

◆ Valid()

bool CTextile3DWeave::Valid ( ) const
protectedinherited

Member Data Documentation

◆ m_AlphaX

CProperty TexGen::CProperties::m_AlphaX
inherited

◆ m_AlphaY

CProperty TexGen::CProperties::m_AlphaY
inherited

◆ m_AlphaZ

CProperty TexGen::CProperties::m_AlphaZ
inherited

◆ m_ArealDensity

CProperty TexGen::CPropertiesTextile::m_ArealDensity
inherited

◆ m_BinderPattern

vector<bool> TexGen::CTextile3DWeave::m_BinderPattern
protectedinherited

◆ m_bNeedsBuilding

bool TexGen::CTextile::m_bNeedsBuilding
mutableprotectedinherited

Variable which keeps track of wether the textile needs building or not.

Note: This is only relavant for classes which derive from CTextile and handle the construction of yarns automatically

Definition at line 330 of file Textile.h.

Referenced by TexGen::CTextile3DWeave::AddXLayers(), TexGen::CTextileWeave3D::AddXLayers(), TexGen::CTextile3DWeave::AddXYarn(), TexGen::CTextile3DWeave::AddYLayers(), TexGen::CTextileWeave3D::AddYLayers(), TexGen::CTextile3DWeave::AddYYarn(), TexGen::CTextile3DWeave::AssignSectionMesh(), TexGen::CTextileWeave::AssignSectionMesh(), BuildLayerToLayerTextile(), TexGen::CTextile3DWeave::BuildTextile(), TexGen::CTextileAngleInterlock::BuildTextile(), TexGen::CTextileOffsetAngleInterlock::BuildTextile(), TexGen::CTextileOrthogonal::BuildTextile(), TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CTextile::CTextile(), TexGen::CTextile3DWeave::DeleteXLayers(), TexGen::CTextileWeave3D::DeleteXLayers(), TexGen::CTextile3DWeave::DeleteYLayers(), TexGen::CTextileWeave3D::DeleteYLayers(), TexGen::CTextileLayered::MaxNestLayers(), TexGen::CTextileLayered::NestLayers(), TexGen::CTextile::operator=(), TexGen::CTextileWeave3D::PushDown(), TexGen::CTextileWeave3D::PushUp(), TexGen::CTextileAngleInterlock::SetBinderYarnPositions(), TexGen::CTextileOffsetAngleInterlock::SetBinderYarnPositions(), TexGen::CTextile3DWeave::SetGapSize(), TexGen::CTextileWeave::SetGapSize(), TexGen::CTextile3DWeave::SetMaxVolFraction(), TexGen::CTextile3DWeave::SetResolution(), TexGen::CTextileWeave::SetResolution(), TexGen::CTextile3DWeave::SetThickness(), TexGen::CTextileWeave::SetThickness(), TexGen::CTextile3DWeave::SetupWeftRow(), TexGen::CTextileOrthogonal::SetupWeftRow(), TexGen::CTextile3DWeave::SetXYarnHeights(), TexGen::CTextileWeave::SetXYarnHeights(), TexGen::CTextile3DWeave::SetXYarnSpacings(), TexGen::CTextileWeave::SetXYarnSpacings(), TexGen::CTextile3DWeave::SetXYarnWidths(), TexGen::CTextileWeave::SetXYarnWidths(), TexGen::CTextile3DWeave::SetYYarnHeights(), TexGen::CTextileWeave::SetYYarnHeights(), TexGen::CTextile3DWeave::SetYYarnSpacings(), TexGen::CTextileWeave::SetYYarnSpacings(), TexGen::CTextile3DWeave::SetYYarnWidths(), TexGen::CTextileWeave::SetYYarnWidths(), TexGen::CTextile3DWeave::ShapeWeftYarns(), TexGen::CTextileOrthogonal::ShapeWeftYarns(), TexGen::CTextileWeave2D::SwapAll(), TexGen::CTextileOrthogonal::SwapBinderPosition(), TexGen::CTextileWeave2D::SwapPosition(), TexGen::CTextile3DWeave::SwapPosition(), and TexGen::CTextileWeave3D::SwapPosition().

◆ m_bRefine

bool TexGen::CTextile3DWeave::m_bRefine
protectedinherited

◆ m_bShapeBinders

bool TexGen::CTextileLayerToLayer::m_bShapeBinders
protected

◆ m_bWeftRepeat

bool TexGen::CTextile3DWeave::m_bWeftRepeat
protectedinherited

◆ m_CalculatedArea

CProperty TexGen::CProperties::m_CalculatedArea
inherited

◆ m_dBinderPower

double TexGen::CTextile3DWeave::m_dBinderPower
protectedinherited

◆ m_dFabricThickness

double TexGen::CTextile3DWeave::m_dFabricThickness
protectedinherited

◆ m_dGapSize

double TexGen::CTextile3DWeave::m_dGapSize
protectedinherited

◆ m_dMaxVolumeFraction

double TexGen::CTextile3DWeave::m_dMaxVolumeFraction
protectedinherited

◆ m_dMaxZ

double TexGen::CTextile3DWeave::m_dMaxZ
mutableprotectedinherited

◆ m_dMinZ

double TexGen::CTextile3DWeave::m_dMinZ
mutableprotectedinherited

◆ m_dWarpPower

double TexGen::CTextile3DWeave::m_dWarpPower
protectedinherited

◆ m_dWeftPower

double TexGen::CTextile3DWeave::m_dWeftPower
protectedinherited

◆ m_FibreArea

CProperty TexGen::CProperties::m_FibreArea
inherited

◆ m_FibreDensity

CProperty TexGen::CProperties::m_FibreDensity
inherited

◆ m_FibreDiameter

CProperty TexGen::CProperties::m_FibreDiameter
inherited

◆ m_GeometryScale

string TexGen::CPropertiesTextile::m_GeometryScale
protectedinherited

◆ m_iBinderRatio

int TexGen::CTextile3DWeave::m_iBinderRatio
protectedinherited

◆ m_iFibresPerYarn

int TexGen::CProperties::m_iFibresPerYarn
protectedinherited

◆ m_iNumBinderLayers

int TexGen::CTextileLayerToLayer::m_iNumBinderLayers
protected

◆ m_iNumXYarns

int TexGen::CTextile3DWeave::m_iNumXYarns
protectedinherited

Definition at line 431 of file Textile3DWeave.h.

Referenced by TexGen::CTextile3DWeave::AddBinderLayer(), TexGen::CTextile3DWeave::AddNoYarnLayer(), TexGen::CTextile3DWeave::AddWarpLayer(), TexGen::CTextileOrthogonal::AddWeftNodes(), TexGen::CTextile3DWeave::AddWeftNodes(), TexGen::CTextile3DWeave::AddXLayers(), TexGen::CTextile3DWeave::AddXYarn(), TexGen::CTextile3DWeave::AddYLayers(), TexGen::CTextile3DWeave::AddYYarn(), TexGen::CTextileOrthogonal::AdjustBinderYarns(), TexGen::CTextileOrthogonal::AdjustMidLayerHeights(), TexGen::CTextileOrthogonal::AdjustOuterWeftYarns(), BuildLayerToLayerTextile(), TexGen::CTextile3DWeave::BuildTextile(), TexGen::CTextileAngleInterlock::BuildTextile(), TexGen::CTextileOffsetAngleInterlock::BuildTextile(), TexGen::CTextileOrthogonal::BuildTextile(), TexGen::CTextileOrthogonal::BuildWeavePatternTextile(), TexGen::CTextile3DWeave::CalculateReedDesign(), TexGen::CTextileOrthogonal::ChangeWeftSection(), TexGen::CTextileOrthogonal::CheckBinderWidths(), TexGen::CTextile3DWeave::CheckCells(), TexGen::CTextileDecoupledLToL::CheckUpVectors(), TexGen::CTextile3DWeave::CheckUpVectors(), TexGen::CTextileOrthogonal::ConsolidateCells(), TexGen::CTextile3DWeave::ConvertToPatternDraft(), ConvertToPatternDraft(), TexGen::CTextileOrthogonal::ConvertToPatternDraft(), TexGen::CTextileOrthogonal::CorrectCrimpInterference(), TexGen::CTextile3DWeave::CTextile3DWeave(), TexGen::CTextile3DWeave::DeleteXLayers(), TexGen::CTextile3DWeave::DeleteYLayers(), TexGen::CTextile3DWeave::FindMinMaxZ(), TexGen::CTextileOffsetAngleInterlock::FindMinMaxZ(), TexGen::CTextileOrthogonal::FindNextBinderIndex(), TexGen::CTextile3DWeave::FindNextCellIndex(), TexGen::CTextile3DWeave::GetAverageYarnWidth(), TexGen::CTextile3DWeave::GetDefaultName(), TexGen::CTextile3DWeave::GetHeight(), TexGen::CTextile3DWeave::GetMaxNumLayers(), TexGen::CTextile3DWeave::GetWarpYarnInfo(), TexGen::CTextile3DWeave::GetXYarnGapSize(), TexGen::CTextile3DWeave::GetXYarnHeights(), TexGen::CTextile3DWeave::GetXYarns(), TexGen::CTextile3DWeave::GetXYarnSpacings(), TexGen::CTextile3DWeave::GetXYarnWidths(), TexGen::CTextileOrthogonal::OffsetYarn(), TexGen::CTextile3DWeave::PopulateTiXmlElement(), TexGen::CTextile3DWeave::SetBinderPattern(), TexGen::CTextile3DWeave::SetBinderYarnHeights(), TexGen::CTextileAngleInterlock::SetBinderYarnPositions(), TexGen::CTextileOffsetAngleInterlock::SetBinderYarnPositions(), TexGen::CTextile3DWeave::SetBinderYarnSpacings(), TexGen::CTextile3DWeave::SetBinderYarnWidths(), TexGen::CTextileOrthogonal::SetupWeftRow(), TexGen::CTextile3DWeave::SetWarpYarnHeights(), TexGen::CTextile3DWeave::SetWarpYarnSpacings(), TexGen::CTextile3DWeave::SetWarpYarnWidths(), TexGen::CTextile3DWeave::SetXYarnHeights(), TexGen::CTextile3DWeave::SetXYarnSpacings(), TexGen::CTextile3DWeave::SetXYarnWidths(), TexGen::CTextileAngleInterlock::ShapeBinderYarns(), TexGen::CTextileDecoupledLToL::ShapeBinderYarns(), ShapeBinderYarns(), TexGen::CTextileOffsetAngleInterlock::ShapeBinderYarns(), TexGen::CTextileOrthogonal::ShapeBinderYarns(), TexGen::CTextile3DWeave::ShapeWeftYarns(), TexGen::CTextileOrthogonal::ShapeWeftYarns(), TexGen::CTextileOrthogonal::SwapBinderPosition(), TexGen::CTextile3DWeave::SwapPosition(), and TexGen::CTextile3DWeave::Valid().

◆ m_iNumYYarns

int TexGen::CTextile3DWeave::m_iNumYYarns
protectedinherited

Definition at line 431 of file Textile3DWeave.h.

Referenced by TexGen::CTextileAngleInterlock::AddBinderNodes(), TexGen::CTextileOrthogonal::AddBinderNodes(), AddBinderNodes(), TexGen::CTextile3DWeave::AddXLayers(), TexGen::CTextile3DWeave::AddXYarn(), TexGen::CTextileOffsetAngleInterlock::AddYLayer(), TexGen::CTextile3DWeave::AddYLayers(), TexGen::CTextile3DWeave::AddYYarn(), TexGen::CTextileOrthogonal::AdjustBinderPosition(), TexGen::CTextileOrthogonal::AdjustBinderYarns(), TexGen::CTextileOrthogonal::AdjustMidLayerHeights(), TexGen::CTextileOrthogonal::AdjustOuterWeftYarns(), BuildLayerToLayerTextile(), TexGen::CTextile3DWeave::BuildTextile(), TexGen::CTextileAngleInterlock::BuildTextile(), TexGen::CTextileOffsetAngleInterlock::BuildTextile(), TexGen::CTextileOrthogonal::BuildTextile(), TexGen::CTextileOrthogonal::BuildWeavePatternTextile(), TexGen::CTextile3DWeave::CalculateReedDesign(), TexGen::CTextileOrthogonal::ChangeBinderSection(), TexGen::CTextileOrthogonal::CheckBinderWidths(), TexGen::CTextile3DWeave::CheckCells(), TexGen::CTextile3DWeave::CheckUpVectors(), TexGen::CTextileOrthogonal::ConsolidateCells(), TexGen::CTextile3DWeave::ConvertToPatternDraft(), ConvertToPatternDraft(), TexGen::CTextileOrthogonal::ConvertToPatternDraft(), TexGen::CTextileOrthogonal::CorrectCrimpInterference(), TexGen::CTextile3DWeave::CTextile3DWeave(), TexGen::CTextile3DWeave::DeleteXLayers(), TexGen::CTextile3DWeave::DeleteYLayers(), TexGen::CTextile3DWeave::FindMinMaxZ(), TexGen::CTextileOffsetAngleInterlock::FindMinMaxZ(), TexGen::CTextile3DWeave::FindNextYCellIndex(), TexGen::CTextile3DWeave::FindPrevYCellIndex(), TexGen::CTextile3DWeave::GetAverageWeftYarnHeight(), TexGen::CTextile3DWeave::GetAverageWeftYarnWidth(), TexGen::CTextile3DWeave::GetAverageYarnWidth(), TexGen::CTextile3DWeave::GetCell(), TexGen::CTextile3DWeave::GetCellCoordinates(), TexGen::CTextile3DWeave::GetDefaultName(), TexGen::CTextile3DWeave::GetMaxNumLayers(), TexGen::CTextile3DWeave::GetWidth(), TexGen::CTextileOffsetAngleInterlock::GetWidth(), TexGen::CTextileOrthogonal::GetYarnCell(), TexGen::CTextile3DWeave::GetYYarnGapSize(), TexGen::CTextile3DWeave::GetYYarnHeights(), TexGen::CTextile3DWeave::GetYYarns(), TexGen::CTextile3DWeave::GetYYarnSpacings(), TexGen::CTextile3DWeave::GetYYarnWidths(), TexGen::CTextileOrthogonal::OffsetYarn(), TexGen::CTextile3DWeave::PopulateTiXmlElement(), TexGen::CTextile3DWeave::RemoveCell(), TexGen::CTextileOrthogonal::RemoveYarnCell(), TexGen::CTextileAngleInterlock::SetBinderYarnPositions(), TexGen::CTextileOffsetAngleInterlock::SetBinderYarnPositions(), TexGen::CTextile3DWeave::SetYYarnHeights(), TexGen::CTextile3DWeave::SetYYarnSpacings(), TexGen::CTextile3DWeave::SetYYarnWidths(), TexGen::CTextileAngleInterlock::ShapeBinderYarns(), TexGen::CTextileDecoupledLToL::ShapeBinderYarns(), ShapeBinderYarns(), TexGen::CTextileOffsetAngleInterlock::ShapeBinderYarns(), TexGen::CTextileOrthogonal::ShapeBinderYarns(), TexGen::CTextile3DWeave::ShapeWeftYarns(), TexGen::CTextileOrthogonal::ShapeWeftYarns(), TexGen::CTextileOrthogonal::SwapBinderPosition(), TexGen::CTextile3DWeave::SwapPosition(), and TexGen::CTextile3DWeave::Valid().

◆ m_iResolution

int TexGen::CTextile3DWeave::m_iResolution
protectedinherited

◆ m_iTotalXYarns

int TexGen::CTextile3DWeave::m_iTotalXYarns
protectedinherited

◆ m_iWarpRatio

int TexGen::CTextile3DWeave::m_iWarpRatio
protectedinherited

◆ m_MatrixAlpha

double TexGen::CPropertiesTextile::m_MatrixAlpha
protectedinherited

◆ m_MatrixPoissonsRatio

double TexGen::CPropertiesTextile::m_MatrixPoissonsRatio
protectedinherited

◆ m_MatrixYoungsModulus

CProperty TexGen::CPropertiesTextile::m_MatrixYoungsModulus
inherited

◆ m_Pattern

vector<vector<PATTERN3D> > TexGen::CTextile3DWeave::m_Pattern
protectedinherited

◆ m_PatternDraft

CPatternDraft TexGen::CTextile3DWeave::m_PatternDraft
protectedinherited

Class for generating pattern draft from weave pattern.

Definition at line 429 of file Textile3DWeave.h.

Referenced by TexGen::CTextile3DWeave::ConvertToPatternDraft(), ConvertToPatternDraft(), and TexGen::CTextileOrthogonal::ConvertToPatternDraft().

◆ m_pDomain

CObjectContainer<CDomain> TexGen::CTextile::m_pDomain
protectedinherited

◆ m_PoissonsRatioX

double TexGen::CProperties::m_PoissonsRatioX
protectedinherited

◆ m_PoissonsRatioY

double TexGen::CProperties::m_PoissonsRatioY
protectedinherited

◆ m_PoissonsRatioZ

double TexGen::CProperties::m_PoissonsRatioZ
protectedinherited

◆ m_Properties

CProperties TexGen::CTextile3DWeave::m_Properties[3]
protectedinherited

◆ m_pSectionMesh

CObjectContainer<CSectionMesh> TexGen::CTextile3DWeave::m_pSectionMesh
protectedinherited

◆ m_ShearModulusXY

CProperty TexGen::CProperties::m_ShearModulusXY
inherited

◆ m_ShearModulusXZ

CProperty TexGen::CProperties::m_ShearModulusXZ
inherited

◆ m_ShearModulusYZ

CProperty TexGen::CProperties::m_ShearModulusYZ
inherited

◆ m_XYarnData

vector<YARNDATA> TexGen::CTextile3DWeave::m_XYarnData
mutableprotectedinherited

Definition at line 448 of file Textile3DWeave.h.

Referenced by TexGen::CTextileAngleInterlock::AddBinderNodes(), TexGen::CTextileOffsetAngleInterlock::AddBinderNodes(), TexGen::CTextileOrthogonal::AddBinderNodes(), AddBinderNodes(), TexGen::CTextileOrthogonal::AdjustBinderPosition(), TexGen::CTextileOrthogonal::AdjustBinderYarnSection(), TexGen::CTextileOrthogonal::AdjustMidLayerHeights(), TexGen::CTextileOrthogonal::AdjustOuterWeftYarns(), TexGen::CTextileOrthogonal::AdjustWeftToFitBinderHeight(), BuildLayerToLayerTextile(), TexGen::CTextile3DWeave::BuildTextile(), TexGen::CTextileAngleInterlock::BuildTextile(), TexGen::CTextileOffsetAngleInterlock::BuildTextile(), TexGen::CTextileOrthogonal::BuildTextile(), TexGen::CTextileOrthogonal::BuildWeavePatternTextile(), TexGen::CTextile3DWeave::CalculateReedDesign(), TexGen::CTextileOrthogonal::CheckBinderWidths(), TexGen::CTextile3DWeave::CTextile3DWeave(), TexGen::CTextile3DWeave::FindMinMaxZ(), TexGen::CTextileOffsetAngleInterlock::FindMinMaxZ(), TexGen::CTextile3DWeave::GetAverageYarnWidth(), TexGen::CTextile3DWeave::GetHeight(), TexGen::CTextile3DWeave::GetWarpYarnInfo(), TexGen::CTextile3DWeave::GetXYarnGapSize(), TexGen::CTextile3DWeave::GetXYarnHeights(), TexGen::CTextile3DWeave::GetXYarnSpacings(), TexGen::CTextile3DWeave::GetXYarnWidths(), TexGen::CTextile3DWeave::PopulateTiXmlElement(), TexGen::CTextile3DWeave::SetXYarnHeights(), TexGen::CTextile3DWeave::SetXYarnSpacings(), and TexGen::CTextile3DWeave::SetXYarnWidths().

◆ m_XYarns

vector<vector<int> > TexGen::CTextile3DWeave::m_XYarns
mutableprotectedinherited

◆ m_YarnLinearDensity

CProperty TexGen::CProperties::m_YarnLinearDensity
inherited

◆ m_Yarns

vector<CYarn> TexGen::CTextile::m_Yarns
mutableprotectedinherited

Vector of yarns contained within this cell.

Note that this variable has been made mutable to enable building of the textile when necessary. For example, the function GetNumYarns should be declared as const but before the number of yarns can be retreived it must build the textile which cannot be done front a const function unless this variable is declared as mutable.

Definition at line 323 of file Textile.h.

Referenced by TexGen::CTextileAngleInterlock::AddBinderNodes(), TexGen::CTextileOffsetAngleInterlock::AddBinderNodes(), TexGen::CTextileOrthogonal::AddBinderNodes(), AddBinderNodes(), TexGen::CTextile::AddCentrePlaneToMesh(), TexGen::CTextile::AddNodesToMesh(), TexGen::CTextile::AddPathToMesh(), TexGen::CTextile::AddSurfaceToMesh(), TexGen::CTextile::AddVolumeToMesh(), TexGen::CTextileOrthogonal::AddWeftNodes(), TexGen::CTextile3DWeave::AddWeftNodes(), TexGen::CTextile::AddYarn(), TexGen::CTextileOrthogonal::AdjustBinderPosition(), TexGen::CTextileOrthogonal::AdjustBinderYarnSection(), TexGen::CTextileOrthogonal::AdjustMidLayerHeights(), TexGen::CTextileOrthogonal::AdjustOuterWeftYarns(), TexGen::CShearedTextileWeave2D::AdjustSections(), TexGen::CShearedTextileWeave2D::AdjustSectionsForRotation(), TexGen::CTextileWeave2D::AdjustSectionsForRotation(), TexGen::CTextileWeave2D::AdjustTangents(), BuildLayerToLayerTextile(), TexGen::CShearedTextileWeave2D::BuildTextile(), TexGen::CTextile3DWeave::BuildTextile(), TexGen::CTextileAngleInterlock::BuildTextile(), TexGen::CTextileOffsetAngleInterlock::BuildTextile(), TexGen::CTextileOrthogonal::BuildTextile(), TexGen::CTextileWeave::BuildTextile(), TexGen::CTextileOrthogonal::BuildWeavePatternTextile(), TexGen::CShearedTextileWeave2D::CalculateModifiers(), TexGen::CTextileOrthogonal::ChangeBinderSection(), TexGen::CTextileOrthogonal::ChangeWeftSection(), TexGen::CTextileOrthogonal::CheckBinderWidths(), TexGen::CTextile3DWeave::CheckUpVectors(), TexGen::CTextile::ConvertToInterpNodes(), TexGen::CTextileOrthogonal::CorrectCrimpInterference(), TexGen::CTextileWeave::CorrectEdgeInterference(), TexGen::CTextileWeave::CorrectInterference(), TexGen::CShearedTextileWeave2D::CorrectInterference(), TexGen::CTextileWeave::CorrectYarnWidths(), TexGen::CTextile::CTextile(), TexGen::CTextile::DeleteYarn(), TexGen::CTextile::DeleteYarns(), TexGen::CTextile::DetectInterference(), TexGen::CTextileWeave::FlattenYarns(), TexGen::CTextile::GetApproximateSize(), TexGen::CTextile3DWeave::GetCrossSection(), TexGen::CTextile::GetDomainVolumeFraction(), TexGen::CTextile::GetFibreVolume(), TexGen::CTextile::GetFibreVolumePerUnitArea(), TexGen::CTextileOrthogonal::GetHybridSectionWidth(), TexGen::CTextile::GetNumYarns(), TexGen::CTextile::GetPointInformation(), TexGen::CTextile::GetQuickDomainVolumeFraction(), TexGen::CTextile3DWeave::GetWeftCrossSection(), TexGen::CTextile3DWeave::GetXYarns(), TexGen::CTextileWeave::GetXYarns(), TexGen::CTextile::GetYarn(), TexGen::CTextile::GetYarnLength(), TexGen::CTextile::GetYarnLengthPerUnitArea(), TexGen::CTextile::GetYarns(), TexGen::CTextile::GetYarnVolume(), TexGen::CTextile::GetYarnVolumePerUnitArea(), TexGen::CTextile3DWeave::GetYYarns(), TexGen::CTextileWeave::GetYYarns(), TexGen::CTextile3DWeave::InsertBinderNode(), TexGen::CTextile3DWeave::InsertWeftNode(), TexGen::CTextileOrthogonal::OffsetYarn(), TexGen::CTextile::operator=(), TexGen::CTextile::PopulateTiXmlElement(), TexGen::CTextile3DWeave::ReplaceLastNode(), TexGen::CTextileOrthogonal::ReplaceYarnSection(), TexGen::CTextile::Rotate(), TexGen::CTextile::SetAllYarnsAlphaX(), TexGen::CTextile::SetAllYarnsAlphaY(), TexGen::CTextile::SetAllYarnsAlphaZ(), TexGen::CTextile::SetAllYarnsPoissonsRatioX(), TexGen::CTextile::SetAllYarnsPoissonsRatioY(), TexGen::CTextile::SetAllYarnsPoissonsRatioZ(), TexGen::CTextile::SetAllYarnsShearModulusXY(), TexGen::CTextile::SetAllYarnsShearModulusXZ(), TexGen::CTextile::SetAllYarnsShearModulusYZ(), TexGen::CTextile::SetAllYarnsYoungsModulusX(), TexGen::CTextile::SetAllYarnsYoungsModulusY(), TexGen::CTextile::SetAllYarnsYoungsModulusZ(), TexGen::CTextileWeave2D::SetInPlaneTangents(), TexGen::CTextile::SetResolution(), and TexGen::CTextile::Translate().

◆ m_YoungsModulusX

CProperty TexGen::CProperties::m_YoungsModulusX
inherited

◆ m_YoungsModulusY

CProperty TexGen::CProperties::m_YoungsModulusY
inherited

◆ m_YoungsModulusZ

CProperty TexGen::CProperties::m_YoungsModulusZ
inherited

◆ m_YYarnData

vector<YARNDATA> TexGen::CTextile3DWeave::m_YYarnData
mutableprotectedinherited

◆ m_YYarns

vector<vector<int> > TexGen::CTextile3DWeave::m_YYarns
mutableprotectedinherited

The documentation for this class was generated from the following files: