append_CanoNDBoxToSdrBox Subroutine

public subroutine append_CanoNDBoxToSdrBox(canobox, boxArray, spaObjArray, attr_pos)

This routine convert plane to triangle and add triangle to growing array and add position of triangle into spatialObj%primitive_position

Arguments

Type IntentOptional 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