append_CanoNDPlaneToTriangle Subroutine

public subroutine append_CanoNDPlaneToTriangle(plane, triArray, 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_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