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 |