This module provides the routine to load canonical geometrical objects to growing array of geometries and their positions in growing array in growing array of spatialObj
This routine loads canonical geometrial objects like point, line, plane and box and add them to the growing array of each primitive geometries and the position of this geometries are stored in the growing array of spatialObject
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(grw_pointarray_type), | intent(inout) | :: | pntArray | growing array of points |
||
type(grw_linearray_type), | intent(inout) | :: | lineArray | growing array of line |
||
type(grw_trianglearray_type), | intent(inout) | :: | triArray | growing array of triangles |
||
type(grw_boxarray_type), | intent(inout) | :: | boxArray | growing array of boxes |
||
type(grw_spatialobjarray_type), | intent(inout) | :: | spaObjArray | growing array of geometrical objects. |
||
integer, | intent(in) | :: | attr_pos | Position of the attribute to connect this object to. |
||
type(tem_transformation_type), | intent(in) | :: | transform | transformation for spatial object |
||
type(flu_State) | :: | conf | lua state |
|||
integer, | intent(in) | :: | thandle |
This routine convert canonical point to seeder point array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_point_type), | intent(in) | :: | canopoint | canonical point object type |
||
type(grw_pointarray_type), | intent(inout) | :: | pntArray | growing array of points |
||
type(grw_spatialobjarray_type), | intent(inout) | :: | spaObjArray | growing array of geometrical objects. |
||
integer, | intent(in) | :: | attr_pos | spatial object type |
This routine convert canonical line to seeder line array
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_line_type), | intent(in) | :: | canoline | canonical geometry line object type |
||
type(grw_linearray_type), | intent(inout) | :: | lineArray | growing array of line |
||
type(grw_spatialobjarray_type), | intent(inout) | :: | spaObjArray | growing array of geometrical objects. |
||
integer, | intent(in) | :: | attr_pos | spatial object type |
This routine convert box to planes and then planes to triangles and add triangle to growing array and add position of triangle into spatialObj%primitive_position
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_box_type), | intent(in) | :: | canoBox | canonical geometry box object type |
||
type(grw_trianglearray_type), | intent(inout) | :: | triArray | growing array of triangles |
||
type(grw_spatialobjarray_type), | intent(inout) | :: | spaObjArray | growing array of geometrical objects. |
||
integer, | intent(in) | :: | attr_pos | spatial object type |
This routine convert plane to triangle and add triangle to growing array and add position of triangle into spatialObj%primitive_position
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_plane_type), | intent(in) | :: | plane | canonical plane geometry object type |
||
type(grw_trianglearray_type), | intent(inout) | :: | triArray | growing array of triangles |
||
type(grw_spatialobjarray_type), | intent(inout) | :: | spaObjArray | growing array of geometrical objects. |
||
integer, | intent(in) | :: | attr_pos | spatial object type |
This routine convert plane to triangle and add triangle to growing array and add position of triangle into spatialObj%primitive_position
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_box_type), | intent(in) | :: | canobox | canonical geometry object type |
||
type(grw_boxarray_type), | intent(inout) | :: | boxArray | growing array of boxes |
||
type(grw_spatialobjarray_type), | intent(inout) | :: | spaObjArray | growing array of geometrical objects. |
||
integer, | intent(in) | :: | attr_pos | spatial object type |