sdr_stl_module Module

This module provides a adapter rouinte to load stl file and add triangles to spatial objects

\author Kannan Masilamani



Subroutines

public subroutine sdr_load_stl(triArray, spaObjArray, attr_pos, transform, conf, thandle)

This routine loads STL files from config and reads the triangles from the files into the dynamic array of triangles.

Arguments

Type IntentOptional Attributes Name
type(grw_trianglearray_type), intent(inout) :: triArray

Dynamic array of triangles

type(grw_spatialObjArray_type), intent(inout) :: spaObjArray

Growing array of geometrical objects.

integer, intent(in) :: attr_pos

Position of the attribute, this object is connected to.

type(tem_transformation_type), intent(in) :: transform

transformation for spatial object

type(flu_State) :: conf

Lua state

integer, intent(in) :: thandle