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

Represents a 3D woven textile. More...

#include <Textile3DWeave.h>

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

Public Member Functions

 CTextile3DWeave (int iNumXYarns, int iNumYYarns, double dXSpacing, double dYSpacing, double dXHeight, double dYHeight, bool bRefine=false)
 Build a weave unit cell of given width, height, yarn spacing and fabric thickness. More...
 
 CTextile3DWeave (TiXmlElement &Element)
 
virtual ~CTextile3DWeave (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...
 
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 SetYYarnWidths (int iIndex, double dWidth)
 Set the width of the yarn parallel to the Y axis, with given index. More...
 
void SetXYarnHeights (int iIndex, double dHeight)
 Set the height of the yarn parallel to the X axis, with given index. More...
 
void SetYYarnHeights (int iIndex, double dHeight)
 Set the height of the yarn parallel to the Y axis, with given index. More...
 
void SetXYarnSpacings (int iIndex, double dSpacing)
 Set the spacing of the yarn parallel to the X axis, with given index. More...
 
void SetYYarnSpacings (int iIndex, double dSpacing)
 Set the spacing of the yarn parallel to the Y axis, with given index. 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 SetXYarnWidths (double dWidth)
 Set the width of all the yarns parallel to the X axis. More...
 
void SetYYarnWidths (double dWidth)
 Set the width of all the yarns parallel to the Y axis. 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 SetXYarnHeights (double dHeight)
 Set the height of all the yarns parallel to the X axis. More...
 
void SetYYarnHeights (double dHeight)
 Set the height of all the yarns parallel to the Y axis. 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 SetXYarnSpacings (double dSpacing)
 Set the spacing of all the yarns parallel to the X axis. More...
 
void SetYYarnSpacings (double dSpacing)
 Set the spacing of all the yarns parallel to the Y axis. 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 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 SetFibreArea (int iYarnType, 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 SetFibreDiameter (int iYarnType, double dValue, string Units="m")
 
double GetFibreArea (int iYarnType, string Units)
 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 AddXLayers (int y, int iNumberLayers)
 Add given number of yarns parallel to the X axis, with given index y. More...
 
void AddYLayers (int iNumberLayers=1)
 Add given number of yarns parallel to the Y axis. 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 DeleteXLayers (int y, int iNumberLayers)
 Delete given number of yarns parallel to the X axis, with given index y. More...
 
void DeleteYLayers (int iNumberLayers=1)
 Delete given number of yarns parallel to the Y axis. 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...
 
virtual int GetNumBinderLayers () const
 Retrieve the number of binder layers. 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...
 
virtual void SetupLayers (int iNumWarpLayers, int iNumWeftLayers, int iNumBinderLayers=1)
 Setup the layers given a specified number of layers. 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
 
virtual void ConvertToPatternDraft (int iWeftOrder=BOTTOM_TO_TOP)
 
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
 
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
 
vector< PATTERN3D > & GetCell (int x, int y)
 
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 SetYarnLinearDensity (double dValue, string Units="kg/m")
 Set the fibre linear density, i.e. the mass per unit length 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 SetFibreDiameter (double dValue, string Units="m")
 Set the fibre diameter. More...
 
void SetFibresPerYarn (int iValue)
 Set the number of fibres in a yarn. More...
 
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 SetFibreArea (double dValue, string Units="m^2")
 Set the area occupied by fibres in a yarn cross-section. More...
 
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 GetFibreArea (string Units="m^2") const
 Get the area occupied by fibres given fibre diameter and number of fibres. More...
 
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

bool Valid () const
 Check that the weave pattern contained in m_Pattern is valid. More...
 
virtual bool BuildTextile () const
 Build the textile. 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

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 woven textile.

Definition at line 67 of file Textile3DWeave.h.

Constructor & Destructor Documentation

◆ CTextile3DWeave() [1/2]

CTextile3DWeave::CTextile3DWeave ( int  iNumXYarns,
int  iNumYYarns,
double  dXSpacing,
double  dYSpacing,
double  dXHeight,
double  dYHeight,
bool  bRefine = false 
)

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
bRefineTrue if refinement selected

Definition at line 33 of file Textile3DWeave.cpp.

References TexGen::YARNDATA::dHeight, TexGen::YARNDATA::dSpacing, TexGen::YARNDATA::dWidth, m_Pattern, m_XYarnData, and m_YYarnData.

◆ CTextile3DWeave() [2/2]

CTextile3DWeave::CTextile3DWeave ( TiXmlElement &  Element)

◆ ~CTextile3DWeave()

CTextile3DWeave::~CTextile3DWeave ( void  )
virtual

Definition at line 63 of file Textile3DWeave.cpp.

Member Function Documentation

◆ AddBinderLayer()

void CTextile3DWeave::AddBinderLayer ( )

◆ 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 ( )

◆ 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 ( )

◆ AddWeftNodes()

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

◆ AddXLayers() [1/2]

void CTextile3DWeave::AddXLayers ( int  iNumberLayers = 1)

Add given number of yarns parallel to the X axis.

Definition at line 1550 of file Textile3DWeave.cpp.

References AddXLayers(), and m_iNumXYarns.

◆ AddXLayers() [2/2]

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

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

Definition at line 1495 of file Textile3DWeave.cpp.

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

Referenced by AddXLayers(), and TexGen::CTextileLayerToLayer::SetupLayers().

◆ AddXYarn()

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

Add yarn of type XYARN or NOYARN parallel to the X axis.

Definition at line 1511 of file Textile3DWeave.cpp.

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

Referenced by AddBinderLayer(), AddNoYarnLayer(), and AddWarpLayer().

◆ 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)

Add given number of yarns parallel to the Y axis.

Definition at line 1541 of file Textile3DWeave.cpp.

References AddYLayers(), and m_iNumYYarns.

◆ AddYLayers() [2/2]

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

◆ AddYYarn()

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

Add yarn of type XYARN or NOTYARN parallel to the Y axis.

Definition at line 1526 of file Textile3DWeave.cpp.

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

Referenced by TexGen::CTextileOffsetAngleInterlock::AddYLayer().

◆ AdjustPowerEllipsePower()

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

◆ AdjustPowerEllipseSectionWidth()

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

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)

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 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 AssignDefaultDomain(), TexGen::CTextileWeave::AssignDefaultDomain(), and SetDomainZValues().

◆ AssignSectionMesh()

void CTextile3DWeave::AssignSectionMesh ( const CSectionMesh SectionMesh)

Assign a section mesh to the weave.

Definition at line 779 of file Textile3DWeave.cpp.

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

◆ BinderYarns()

bool CTextile3DWeave::BinderYarns ( ) const
protected

Check if any binder yarns in weave.

Definition at line 1748 of file Textile3DWeave.cpp.

References m_BinderPattern.

Referenced by BuildTextile().

◆ BuildTextile()

bool CTextile3DWeave::BuildTextile ( ) const
protectedvirtual

Build the textile.

The weave is built based on the pattern contained in m_Pattern and the data in m_YYarnData and m_XYarnData. The pattern is essentially a 3D array of ints, where 1 represents a yarn going parallel to the x axis, 0 represents a yarn going parallel to the y axis and 2 represents a space with no yarn. The Yarn data contains yarn width and height, and horizontal spacing between yarns. The spacing value corresponds to the width of the yarn plus an equal space on either side. There is one set of width, height and spacing variables for each set of vertically grouped yarns. The assumption is that all vertically grouped yarns will have the same values, this can easily be extended however.

This function is made virtual so that sub-classes may define a completely new build function or more likely extend this one.

Reimplemented from TexGen::CTextile.

Reimplemented in TexGen::CTextileAngleInterlock, TexGen::CTextileDecoupledLToL, TexGen::CTextileLayerToLayer, TexGen::CTextileOffsetAngleInterlock, and TexGen::CTextileOrthogonal.

Definition at line 289 of file Textile3DWeave.cpp.

References TexGen::CTextile::AddYarn(), TexGen::CSection::AssignSectionMesh(), TexGen::BINDER, BinderYarns(), FindNextCellIndex(), GetCell(), GetHeight(), TexGen::CTextile::GetName(), GetWidth(), IsBinderYarn(), TexGen::CTextile::m_bNeedsBuilding, m_bWeftRepeat, m_dBinderPower, m_dMaxZ, m_dMinZ, m_dWarpPower, m_dWeftPower, m_iNumXYarns, m_iNumYYarns, m_iResolution, m_pSectionMesh, m_XYarnData, m_XYarns, TexGen::CTextile::m_Yarns, m_YYarnData, m_YYarns, TexGen::PATTERN3D_NOYARN, TexGen::PATTERN3D_XYARN, TexGen::PATTERN3D_YYARN, SetYarnProperties(), ShapeWeftYarns(), TGLOGINDENT, TexGen::WARP, and TexGen::WEFT.

◆ 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(), 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(), GetXYarns(), TexGen::CTextileWeave::GetXYarns(), TexGen::CTextile::GetYarn(), TexGen::CTextile::GetYarnLength(), TexGen::CTextile::GetYarnLengthPerUnitArea(), TexGen::CTextile::GetYarns(), TexGen::CTextile::GetYarnVolume(), TexGen::CTextile::GetYarnVolumePerUnitArea(), 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(), SetDomainZValues(), TexGen::CTextile::SetResolution(), and TexGen::CTextile::Translate().

◆ CalculateReedDesign()

void CTextile3DWeave::CalculateReedDesign ( string  Filename)

◆ CheckCells()

bool CTextile3DWeave::CheckCells ( ) const
protected

Check that all cells are populated.

Definition at line 2898 of file Textile3DWeave.cpp.

References GetCell(), m_iNumXYarns, and m_iNumYYarns.

Referenced by TexGen::CTextileLayerToLayer::BuildLayerToLayerTextile(), and TexGen::CTextileAngleInterlock::BuildTextile().

◆ CheckUpVectors()

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

◆ 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 CTextile3DWeave::ConvertToPatternDraft ( int  iWeftOrder = BOTTOM_TO_TOP)
virtual

◆ Copy()

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

◆ DeleteXLayers() [1/2]

void CTextile3DWeave::DeleteXLayers ( int  iNumberLayers = 1)

Delete given number of yarns parallel to the X axis.

Definition at line 1657 of file Textile3DWeave.cpp.

References DeleteXLayers(), and m_iNumXYarns.

◆ DeleteXLayers() [2/2]

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

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

Definition at line 1624 of file Textile3DWeave.cpp.

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

Referenced by DeleteXLayers().

◆ 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)

Delete given number of yarns parallel to the Y axis.

Definition at line 1648 of file Textile3DWeave.cpp.

References DeleteYLayers(), and m_iNumYYarns.

◆ DeleteYLayers() [2/2]

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

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

Definition at line 1600 of file Textile3DWeave.cpp.

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

Referenced by DeleteYLayers().

◆ DetectInterference()

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

◆ FindMinMaxZ()

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

◆ FindNextCellIndex()

int CTextile3DWeave::FindNextCellIndex ( int  index) const

◆ FindNextYCellIndex()

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

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

Definition at line 1816 of file Textile3DWeave.cpp.

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

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

◆ FindPowerEllipseSectionHeight()

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

◆ FindPrevYCellIndex()

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

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

Definition at line 1844 of file Textile3DWeave.cpp.

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

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

◆ FindWarpAboveIndex()

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

◆ FindWarpBelowIndex()

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

◆ FindWeftHeight()

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

◆ 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

Definition at line 1408 of file Textile3DWeave.cpp.

References m_iNumYYarns, and m_YYarnData.

◆ GetAverageWeftYarnSpacing()

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

Reimplemented in TexGen::CTextileOffsetAngleInterlock.

Definition at line 330 of file Textile3DWeave.h.

◆ GetAverageWeftYarnWidth()

double CTextile3DWeave::GetAverageWeftYarnWidth ( ) const

Definition at line 1395 of file Textile3DWeave.cpp.

References m_iNumYYarns, and m_YYarnData.

◆ GetAverageYarnSpacing()

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

Definition at line 319 of file Textile3DWeave.h.

◆ GetAverageYarnWidth()

double CTextile3DWeave::GetAverageYarnWidth ( ) const

Definition at line 1378 of file Textile3DWeave.cpp.

References m_iNumXYarns, m_iNumYYarns, m_XYarnData, and m_YYarnData.

◆ GetBinderPower()

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

Definition at line 328 of file Textile3DWeave.h.

◆ GetCell() [1/2]

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

Definition at line 227 of file Textile3DWeave.cpp.

References m_iNumYYarns, and m_Pattern.

◆ GetCell() [2/2]

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

Definition at line 222 of file Textile3DWeave.cpp.

References m_iNumYYarns, and m_Pattern.

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

◆ GetCellCoordinates()

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

Definition at line 217 of file Textile3DWeave.cpp.

References m_iNumYYarns.

Referenced by PopulateTiXmlElement().

◆ GetCrossSection()

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

◆ GetDecoupledLToLWeave()

CTextileDecoupledLToL * CTextile::GetDecoupledLToLWeave ( )
inherited

Definition at line 882 of file Textile.cpp.

◆ GetDefaultDomain()

CDomainPlanes CTextile3DWeave::GetDefaultDomain ( bool  bAddedDomainHeight = true)

Get a domain which describes 6 planes triming the textile to a unit cell.

Definition at line 1327 of file Textile3DWeave.cpp.

References FindMinMaxZ(), GetHeight(), GetWidth(), TexGen::Max(), TexGen::Min(), TexGen::XYZ::x, TexGen::XYZ::y, and TexGen::XYZ::z.

Referenced by AssignDefaultDomain().

◆ GetDefaultName()

string CTextile3DWeave::GetDefaultName ( ) const
virtual

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 m_iNumXYarns, 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 SetDomainZValues().

◆ GetDomainVolumeFraction()

double CTextile::GetDomainVolumeFraction ( )
inherited

◆ GetFabricThickness()

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

Definition at line 316 of file Textile3DWeave.h.

◆ GetFibreArea() [1/2]

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

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 m_Properties.

Referenced by 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 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

Definition at line 284 of file Properties.cpp.

References TexGen::CProperties::m_iFibresPerYarn.

Referenced by SetYarnProperties().

◆ 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
inline

Definition at line 318 of file Textile3DWeave.h.

◆ GetGeometryScale()

string CPropertiesTextile::GetGeometryScale ( ) const
inherited

◆ GetHeight()

double CTextile3DWeave::GetHeight ( ) const

◆ 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

Retreive the maximum number of layers at any crossover.

Definition at line 1678 of file Textile3DWeave.cpp.

References GetCell(), m_iNumXYarns, and m_iNumYYarns.

◆ GetMaxVolFraction()

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

Definition at line 317 of file Textile3DWeave.h.

◆ GetName()

string CTextile::GetName ( ) const
inherited

◆ GetNumBinderLayers()

int CTextile3DWeave::GetNumBinderLayers ( ) const
virtual

Retrieve the number of binder layers.

Reimplemented in TexGen::CTextileLayerToLayer.

Definition at line 1946 of file Textile3DWeave.cpp.

◆ GetNumXLayers()

int CTextile3DWeave::GetNumXLayers ( int  y) const

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

Definition at line 1672 of file Textile3DWeave.cpp.

References GetCell(), and TexGen::PATTERN3D_XYARN.

◆ GetNumXYarns()

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

◆ GetNumYarns()

int CTextile::GetNumYarns ( ) const
inherited

◆ GetNumYLayers()

int CTextile3DWeave::GetNumYLayers ( int  x) const

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

Definition at line 1666 of file Textile3DWeave.cpp.

References GetCell(), and TexGen::PATTERN3D_YYARN.

◆ GetNumYYarns()

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

◆ GetOrthogonalWeave()

CTextileOrthogonal * CTextile::GetOrthogonalWeave ( )
inherited

Definition at line 872 of file Textile.cpp.

◆ GetPatternDraft()

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

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
inline

Definition at line 329 of file Textile3DWeave.h.

◆ GetResolution()

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

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::CTextile3DWeave::GetType ( ) const
inlinevirtual

Derived class should return the class name.

Reimplemented from TexGen::CTextile.

Reimplemented in TexGen::CTextileAngleInterlock, TexGen::CTextileDecoupledLToL, TexGen::CTextileLayerToLayer, TexGen::CTextileOffsetAngleInterlock, and TexGen::CTextileOrthogonal.

Definition at line 87 of file Textile3DWeave.h.

Referenced by GetWeftCrossSection().

◆ GetUpVector()

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

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 CheckUpVectors().

◆ GetWarpPower()

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

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

Retrieve number of warp and binder yarns and ratios.

Definition at line 2661 of file Textile3DWeave.cpp.

References TexGen::YARNDATA::dHeight, TexGen::YARNDATA::dSpacing, TexGen::YARNDATA::dWidth, GetHeight(), IsBinderYarn(), m_iNumXYarns, and m_XYarnData.

◆ 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
protected

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(), GetType(), TexGen::CTextile::m_Yarns, and NULL.

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

◆ GetWeftPower()

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

Definition at line 327 of file Textile3DWeave.h.

◆ GetWidth()

double CTextile3DWeave::GetWidth ( ) const
virtual

◆ GetXYarnGapSize()

double CTextile3DWeave::GetXYarnGapSize ( int  iIndex) const

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

Definition at line 1026 of file Textile3DWeave.cpp.

References m_iNumXYarns, m_XYarnData, and TGERROR.

◆ GetXYarnHeights()

double CTextile3DWeave::GetXYarnHeights ( int  iIndex) const

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

Definition at line 946 of file Textile3DWeave.cpp.

References m_iNumXYarns, m_XYarnData, and TGERROR.

◆ GetXYarnIndex()

int CTextile3DWeave::GetXYarnIndex ( int  YarnInd)

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

Definition at line 1734 of file Textile3DWeave.cpp.

References m_XYarns.

◆ GetXYarns()

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

◆ GetXYarnSpacings()

double CTextile3DWeave::GetXYarnSpacings ( int  iIndex) const

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

Definition at line 966 of file Textile3DWeave.cpp.

References m_iNumXYarns, m_XYarnData, and TGERROR.

◆ GetXYarnWidths()

double CTextile3DWeave::GetXYarnWidths ( int  iIndex) const

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

Definition at line 926 of file Textile3DWeave.cpp.

References m_iNumXYarns, 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

◆ 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

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

Definition at line 1042 of file Textile3DWeave.cpp.

References m_iNumYYarns, m_YYarnData, and TGERROR.

◆ GetYYarnHeights()

double CTextile3DWeave::GetYYarnHeights ( int  iIndex) const

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

Definition at line 956 of file Textile3DWeave.cpp.

References m_iNumYYarns, m_YYarnData, and TGERROR.

◆ GetYYarns()

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

◆ GetYYarnSpacings()

double CTextile3DWeave::GetYYarnSpacings ( int  iIndex) const

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

Definition at line 976 of file Textile3DWeave.cpp.

References m_iNumYYarns, m_YYarnData, and TGERROR.

◆ GetYYarnWidths()

double CTextile3DWeave::GetYYarnWidths ( int  iIndex) const

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

Definition at line 936 of file Textile3DWeave.cpp.

References m_iNumYYarns, 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
protected

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
protected

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 TexGen::CTextileLayerToLayer::AddBinderNodes().

◆ InsertWeftNode()

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

◆ IsBinderYarn()

bool CTextile3DWeave::IsBinderYarn ( int  index) const

◆ NoYarnCell()

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

◆ PopulateTiXmlElement()

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

◆ ReducePowerEllipseHeight()

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

◆ RemoveCell()

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

Definition at line 232 of file Textile3DWeave.cpp.

References m_iNumYYarns, and m_Pattern.

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

◆ RemoveDomain()

void CTextile::RemoveDomain ( )
inherited

Remove the domain.

Definition at line 729 of file Textile.cpp.

References TexGen::CTextile::m_pDomain.

Referenced by SetDomainZValues().

◆ ReplaceLastNode()

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

◆ 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 ( )

Setup the binder pattern from the warp and binder ratios.

Definition at line 1775 of file Textile3DWeave.cpp.

References m_BinderPattern, m_iBinderRatio, m_iNumXYarns, and m_iWarpRatio.

Referenced by CTextile3DWeave(), SetBinderRatio(), and SetWarpRatio().

◆ SetBinderPattern() [2/2]

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

Setup the binder pattern from a pre-specified vector.

Definition at line 1788 of file Textile3DWeave.cpp.

References m_BinderPattern.

◆ SetBinderRatio()

void CTextile3DWeave::SetBinderRatio ( int  iBinderRatio)

Set the number of binder yarns grouped together.

Definition at line 1764 of file Textile3DWeave.cpp.

References m_iBinderRatio, SetBinderPattern(), and TGERROR.

◆ SetBinderYarnHeights()

void CTextile3DWeave::SetBinderYarnHeights ( double  dHeight)

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

Definition at line 1131 of file Textile3DWeave.cpp.

References IsBinderYarn(), m_iNumXYarns, and SetXYarnHeights().

◆ SetBinderYarnPower()

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

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)

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

Definition at line 1164 of file Textile3DWeave.cpp.

References IsBinderYarn(), m_iNumXYarns, and SetXYarnSpacings().

◆ SetBinderYarnWidths()

void CTextile3DWeave::SetBinderYarnWidths ( double  dWidth)

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

Definition at line 1080 of file Textile3DWeave.cpp.

References IsBinderYarn(), m_iNumXYarns, and SetXYarnWidths().

◆ SetDefaultMatrixProperties()

void CPropertiesTextile::SetDefaultMatrixProperties ( )
protectedinherited

◆ SetDefaultProperties()

void CProperties::SetDefaultProperties ( )
protectedinherited

◆ SetDomainZValues()

void CTextile3DWeave::SetDomainZValues ( )

◆ 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 SetFibreArea(), and SetYarnProperties().

◆ SetFibreArea() [2/2]

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

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 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" 
)

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 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" 
)

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 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 
)

Set the number of fibres per yarn.

Parameters
iYarnTypeWARP,WEFT or BINDER

Definition at line 1266 of file Textile3DWeave.cpp.

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

◆ SetGapSize()

void CTextile3DWeave::SetGapSize ( double  dGapSize)

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 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)

Set the maximum yarn volume fraction for use in refinement.

Definition at line 761 of file Textile3DWeave.cpp.

References TexGen::CTextile::m_bNeedsBuilding, and 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)

Set the resolution of the yarns.

Definition at line 773 of file Textile3DWeave.cpp.

References TexGen::CTextile::m_bNeedsBuilding, and 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)

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 m_dFabricThickness.

◆ SetupLayers()

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

Setup the layers given a specified number of layers.

Reimplemented in TexGen::CTextileAngleInterlock, TexGen::CTextileLayerToLayer, TexGen::CTextileOffsetAngleInterlock, and TexGen::CTextileOrthogonal.

Definition at line 1942 of file Textile3DWeave.cpp.

◆ SetupWeftRow()

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

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 GetCell(), TexGen::CTextile::m_bNeedsBuilding, m_iTotalXYarns, TexGen::PATTERN3D_NOYARN, TexGen::PATTERN3D_XYARN, TexGen::PATTERN3D_YYARN, and TGERROR.

◆ SetWarpRatio()

void CTextile3DWeave::SetWarpRatio ( int  iWarpRatio)

Set the number of warp yarns grouped together.

Definition at line 1758 of file Textile3DWeave.cpp.

References m_iWarpRatio, and SetBinderPattern().

◆ SetWarpYarnHeights()

void CTextile3DWeave::SetWarpYarnHeights ( double  dHeight)

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

Definition at line 1119 of file Textile3DWeave.cpp.

References IsBinderYarn(), m_iNumXYarns, and SetXYarnHeights().

◆ SetWarpYarnPower()

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

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)

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

Definition at line 1152 of file Textile3DWeave.cpp.

References IsBinderYarn(), m_iNumXYarns, and SetXYarnSpacings().

◆ SetWarpYarnWidths()

void CTextile3DWeave::SetWarpYarnWidths ( double  dWidth)

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

Definition at line 1068 of file Textile3DWeave.cpp.

References IsBinderYarn(), m_iNumXYarns, and SetXYarnWidths().

◆ SetWeftRepeat()

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

Definition at line 334 of file Textile3DWeave.h.

◆ SetWeftYarnPower()

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

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)

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

Definition at line 1101 of file Textile3DWeave.cpp.

References m_iNumXYarns, and SetXYarnHeights().

◆ SetXYarnHeights() [2/2]

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

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

Definition at line 837 of file Textile3DWeave.cpp.

References TexGen::CTextile::m_bNeedsBuilding, m_iNumXYarns, m_XYarnData, and TGERROR.

Referenced by SetBinderYarnHeights(), SetWarpYarnHeights(), SetXYarnHeights(), and SetYarnHeights().

◆ SetXYarnSpacings() [1/2]

void CTextile3DWeave::SetXYarnSpacings ( double  dSpacing)

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

Definition at line 1143 of file Textile3DWeave.cpp.

References m_iNumXYarns, and SetXYarnSpacings().

◆ SetXYarnSpacings() [2/2]

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

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

Definition at line 859 of file Textile3DWeave.cpp.

References TexGen::CTextile::m_bNeedsBuilding, m_iNumXYarns, m_XYarnData, and TGERROR.

Referenced by SetBinderYarnSpacings(), SetWarpYarnSpacings(), SetXYarnSpacings(), and SetYarnSpacings().

◆ SetXYarnWidths() [1/2]

void CTextile3DWeave::SetXYarnWidths ( double  dWidth)

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

Definition at line 1059 of file Textile3DWeave.cpp.

References m_iNumXYarns, and SetXYarnWidths().

◆ SetXYarnWidths() [2/2]

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

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

Definition at line 815 of file Textile3DWeave.cpp.

References TexGen::CTextile::m_bNeedsBuilding, m_iNumXYarns, m_XYarnData, and TGERROR.

Referenced by SetBinderYarnWidths(), SetWarpYarnWidths(), SetXYarnWidths(), and SetYarnWidths().

◆ SetYarnHeights()

void CTextile3DWeave::SetYarnHeights ( double  dHeight)

Set the height of all the yarns in the textile.

Definition at line 1287 of file Textile3DWeave.cpp.

References SetXYarnHeights(), and 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 SetYarnLinearDensity(), and SetYarnProperties().

◆ SetYarnLinearDensity() [2/2]

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

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 m_Properties, and TexGen::CProperties::SetYarnLinearDensity().

◆ SetYarnProperties()

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

◆ SetYarnSpacings()

void CTextile3DWeave::SetYarnSpacings ( double  dSpacing)

Set the spacing of all the yarns in the textile.

Definition at line 1293 of file Textile3DWeave.cpp.

References SetXYarnSpacings(), and SetYYarnSpacings().

◆ SetYarnWidths()

void CTextile3DWeave::SetYarnWidths ( double  dWidth)

Set the width of all the yarns in the textile.

Definition at line 1281 of file Textile3DWeave.cpp.

References SetXYarnWidths(), and 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)

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

Definition at line 1110 of file Textile3DWeave.cpp.

References m_iNumYYarns, and SetYYarnHeights().

◆ SetYYarnHeights() [2/2]

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

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

Definition at line 848 of file Textile3DWeave.cpp.

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

Referenced by SetYarnHeights(), and SetYYarnHeights().

◆ SetYYarnSpacings() [1/2]

void CTextile3DWeave::SetYYarnSpacings ( double  dSpacing)

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

Definition at line 1176 of file Textile3DWeave.cpp.

References m_iNumYYarns, and SetYYarnSpacings().

◆ SetYYarnSpacings() [2/2]

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

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

Definition at line 870 of file Textile3DWeave.cpp.

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

Referenced by SetYarnSpacings(), and SetYYarnSpacings().

◆ SetYYarnWidths() [1/2]

void CTextile3DWeave::SetYYarnWidths ( double  dWidth)

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

Definition at line 1092 of file Textile3DWeave.cpp.

References m_iNumYYarns, and SetYYarnWidths().

◆ SetYYarnWidths() [2/2]

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

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, m_iNumYYarns, m_YYarnData, and TGERROR.

Referenced by SetYarnWidths(), and SetYYarnWidths().

◆ ShapeWeftYarns()

void CTextile3DWeave::ShapeWeftYarns ( ) const

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 AddWeftNodes(), CheckUpVectors(), TexGen::CTextile::m_bNeedsBuilding, m_iNumXYarns, m_iNumYYarns, and TexGen::PATTERN3D_YYARN.

Referenced by BuildTextile().

◆ SwapPosition()

void CTextile3DWeave::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.

Definition at line 1692 of file Textile3DWeave.cpp.

References GetCell(), TexGen::CTextile::m_bNeedsBuilding, m_iNumXYarns, 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
protected

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
protected

Definition at line 433 of file Textile3DWeave.h.

Referenced by BinderYarns(), IsBinderYarn(), and SetBinderPattern().

◆ 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 AddXLayers(), TexGen::CTextileWeave3D::AddXLayers(), AddXYarn(), AddYLayers(), TexGen::CTextileWeave3D::AddYLayers(), AddYYarn(), AssignSectionMesh(), TexGen::CTextileWeave::AssignSectionMesh(), TexGen::CTextileLayerToLayer::BuildLayerToLayerTextile(), BuildTextile(), TexGen::CTextileAngleInterlock::BuildTextile(), TexGen::CTextileOffsetAngleInterlock::BuildTextile(), TexGen::CTextileOrthogonal::BuildTextile(), TexGen::CTextile::BuildTextileIfNeeded(), TexGen::CTextile::CTextile(), DeleteXLayers(), TexGen::CTextileWeave3D::DeleteXLayers(), 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(), SetGapSize(), TexGen::CTextileWeave::SetGapSize(), SetMaxVolFraction(), SetResolution(), TexGen::CTextileWeave::SetResolution(), SetThickness(), TexGen::CTextileWeave::SetThickness(), SetupWeftRow(), TexGen::CTextileOrthogonal::SetupWeftRow(), SetXYarnHeights(), TexGen::CTextileWeave::SetXYarnHeights(), SetXYarnSpacings(), TexGen::CTextileWeave::SetXYarnSpacings(), SetXYarnWidths(), TexGen::CTextileWeave::SetXYarnWidths(), SetYYarnHeights(), TexGen::CTextileWeave::SetYYarnHeights(), SetYYarnSpacings(), TexGen::CTextileWeave::SetYYarnSpacings(), SetYYarnWidths(), TexGen::CTextileWeave::SetYYarnWidths(), ShapeWeftYarns(), TexGen::CTextileOrthogonal::ShapeWeftYarns(), TexGen::CTextileWeave2D::SwapAll(), TexGen::CTextileOrthogonal::SwapBinderPosition(), TexGen::CTextileWeave2D::SwapPosition(), SwapPosition(), and TexGen::CTextileWeave3D::SwapPosition().

◆ m_bRefine

bool TexGen::CTextile3DWeave::m_bRefine
protected

◆ m_bWeftRepeat

bool TexGen::CTextile3DWeave::m_bWeftRepeat
protected

◆ m_CalculatedArea

CProperty TexGen::CProperties::m_CalculatedArea
inherited

◆ m_dBinderPower

double TexGen::CTextile3DWeave::m_dBinderPower
protected

◆ m_dFabricThickness

double TexGen::CTextile3DWeave::m_dFabricThickness
protected

◆ m_dGapSize

double TexGen::CTextile3DWeave::m_dGapSize
protected

◆ m_dMaxVolumeFraction

double TexGen::CTextile3DWeave::m_dMaxVolumeFraction
protected

◆ m_dMaxZ

double TexGen::CTextile3DWeave::m_dMaxZ
mutableprotected

◆ m_dMinZ

double TexGen::CTextile3DWeave::m_dMinZ
mutableprotected

◆ m_dWarpPower

double TexGen::CTextile3DWeave::m_dWarpPower
protected

◆ m_dWeftPower

double TexGen::CTextile3DWeave::m_dWeftPower
protected

◆ 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
protected

◆ m_iFibresPerYarn

int TexGen::CProperties::m_iFibresPerYarn
protectedinherited

◆ m_iNumXYarns

int TexGen::CTextile3DWeave::m_iNumXYarns
protected

Definition at line 431 of file Textile3DWeave.h.

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

◆ m_iNumYYarns

int TexGen::CTextile3DWeave::m_iNumYYarns
protected

Definition at line 431 of file Textile3DWeave.h.

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

◆ m_iResolution

int TexGen::CTextile3DWeave::m_iResolution
protected

◆ m_iTotalXYarns

int TexGen::CTextile3DWeave::m_iTotalXYarns
protected

◆ m_iWarpRatio

int TexGen::CTextile3DWeave::m_iWarpRatio
protected

◆ 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
protected

Definition at line 435 of file Textile3DWeave.h.

Referenced by CTextile3DWeave(), GetCell(), PopulateTiXmlElement(), and RemoveCell().

◆ m_PatternDraft

CPatternDraft TexGen::CTextile3DWeave::m_PatternDraft
protected

Class for generating pattern draft from weave pattern.

Definition at line 429 of file Textile3DWeave.h.

Referenced by ConvertToPatternDraft(), TexGen::CTextileLayerToLayer::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]
protected

◆ m_pSectionMesh

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

◆ 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
mutableprotected

◆ m_XYarns

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

◆ 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(), TexGen::CTextileLayerToLayer::AddBinderNodes(), TexGen::CTextile::AddCentrePlaneToMesh(), TexGen::CTextile::AddNodesToMesh(), TexGen::CTextile::AddPathToMesh(), TexGen::CTextile::AddSurfaceToMesh(), TexGen::CTextile::AddVolumeToMesh(), TexGen::CTextileOrthogonal::AddWeftNodes(), 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(), TexGen::CTextileLayerToLayer::BuildLayerToLayerTextile(), TexGen::CShearedTextileWeave2D::BuildTextile(), 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(), 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(), GetCrossSection(), TexGen::CTextile::GetDomainVolumeFraction(), TexGen::CTextile::GetFibreVolume(), TexGen::CTextile::GetFibreVolumePerUnitArea(), TexGen::CTextileOrthogonal::GetHybridSectionWidth(), TexGen::CTextile::GetNumYarns(), TexGen::CTextile::GetPointInformation(), TexGen::CTextile::GetQuickDomainVolumeFraction(), GetWeftCrossSection(), GetXYarns(), TexGen::CTextileWeave::GetXYarns(), TexGen::CTextile::GetYarn(), TexGen::CTextile::GetYarnLength(), TexGen::CTextile::GetYarnLengthPerUnitArea(), TexGen::CTextile::GetYarns(), TexGen::CTextile::GetYarnVolume(), TexGen::CTextile::GetYarnVolumePerUnitArea(), GetYYarns(), TexGen::CTextileWeave::GetYYarns(), InsertBinderNode(), InsertWeftNode(), TexGen::CTextileOrthogonal::OffsetYarn(), TexGen::CTextile::operator=(), TexGen::CTextile::PopulateTiXmlElement(), 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
mutableprotected

◆ m_YYarns

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

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