Triangle information for all the STLs
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(tem_stlHead_type), | public, | allocatable | :: | head(:) |
Header information loaded from stl and config file |
||
real(kind=rk), | public, | allocatable | :: | nodes(:,:) |
List off all the nodes listed in the STL files size: 1st dimension = 3 (x,y,z) , 2nd dimension = nNodes |
||
integer, | public, | allocatable | :: | tri_node(:,:) |
Pointers to node array for each triangle tri_node(1:3, iTris) has three nodes position of each triangle size: 1st dimension = 3 (3 nodes), 2nd dimension = nTris |
||
integer, | public | :: | nNodes |
Number of nodes |
|||
integer, | public | :: | nTris |
Number of triangles |
type tem_stlData_type !> Header information loaded from stl and config file type(tem_stlHead_type), allocatable :: head(:) !> List off all the nodes listed in the STL files !! size: 1st dimension = 3 (x,y,z) , 2nd dimension = nNodes real(kind=rk), allocatable :: nodes(:,:) !> Pointers to node array for each triangle !! tri_node(1:3, iTris) has three nodes position of each triangle !! size: 1st dimension = 3 (3 nodes), 2nd dimension = nTris integer, allocatable :: tri_node(:,:) !> Number of nodes integer :: nNodes !> Number of triangles integer :: nTris end type tem_stlData_type