41 void SetDepth(
double Depth ){m_Depth = Depth;}
49 const vector<ELEMENT_INDICES> &
GetElements()
const {
return m_Elements; }
58 bool FindInterpolationNode(
CMesh &YarnMesh );
64 bool MoveNode(
CMesh &YarnMesh );
67 void AdjustInterpolationNode(
CMesh &YarnMesh );
70 void FindPolygonPoints( list<int> &Polygons );
84 int m_PolygonPoints[3];
102 void AdjustTextileMesh(
CTextile &Textile,
double Tolerance = 0.0000001);
110 bool AdjustMesh(
CTextile &Textile, vector<CMesh> &YarnMeshes,
double Tolerance );
114 void AdjustSectionMeshes(
CTextile &Textile, vector<CMesh> &YarnMeshes );
119 bool CheckInitialIntersections(
CTextile &Textile, vector<CMesh> &YarnMeshes );
122 bool AdjustInitialIntersections( vector<CMesh> &YarnMeshes );
125 void AddIntersectElementsToMesh(
const vector<ELEMENT_INDICES> &Elements,
int iYarn,
CMesh &YarnMesh );
128 bool AdjustIntersections( vector<CMesh> &YarnMeshes );
130 void SetNodeDisplacements(
int iNumYarns, vector<CMesh> &YarnMeshes );
133 void AdjustInterpolationNodes( vector<CMesh> &YarnMeshes );
136 int FindMeshPolygonSection( vector<XYZ> &SlaveNodePoints,
CMesh &TempMesh, vector<int> &PolygonIndices, vector<XYZ> &Translations,
int &OffsetIndex,
int &iTrans );
138 int CompareSections( vector< vector<XYZ> > &TranslatedSections, vector<XYZ> &PolygonPoints,
int &iTrans );
Class used to adjust small interferences in the fibre volume mesh.
vector< XYZ > GetNodeDisplacements(int i)
vector< vector< XYZ > > m_NodeDisplacements
vector< CMesh > m_TempYarnMeshes
vector< CMeshIntersectionData > m_Intersections
vector< CMesh > m_IntersectionMeshes
Defines the nodes and elements of a surface or volume mesh.
ELEMENT_TYPE
Each element type is represented by a unique integer value.
Class which holds the information related to each intersection point, used for adjusting the mesh.
void SetDepth(double Depth)
void SetBoundaryPairIndex(int index)
const vector< ELEMENT_INDICES > & GetElements() const
void SetInterpIndex(int index)
vector< ELEMENT_INDICES > m_Elements
void SetStartPoint(XYZ Point)
Represents a textile cell containing yarns.
Namespace containing a series of customised math operations not found in the standard c++ library.
Struct for representing points in 3D space.