View source: R/Dimensions.2d.R
Dimensions.2d | R Documentation |
Calculates dimensional values for each triangular element, including truss length & angles, distance from nodal point to centroid, aspect ratio of each triangle element, and area of the triangle.
Dimensions.2d(meshP, meshT, centroid)
meshP |
Matrix (2 x n) containing coordinate points of the mesh nodes. |
meshT |
Matrix (3 x n) containing the number of the coordinate point that forms a given triangle within the mesh. |
centroid |
Matrix (2 x n) containing coordinate points of the centroid of each triangular element. |
Evaluation of triangle elements truss, angle, and area.
Truss |
Nodal pairs that form each truss. |
TrussLength |
Distance between each paired nodes forming a truss, its length. |
Dist2Cent |
Shortest distance from truss to triangle centroid. |
Truss angle |
Angles of the triangle created from truss meeting. |
AspectRatio |
Aspect ratio of triangle elements. |
Area |
Area within triangle elements. |
data(triMesh) data(polyshape) meshP = triMesh$MeshPts$p meshT = triMesh$MeshPts$T centroid = triMesh$Centroids dime = Dimensions.2d(meshP, meshT, centroid)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.