libsim  Versione6.3.0

◆ arrayof_georef_coord_array_insert()

subroutine arrayof_georef_coord_array_insert ( type(arrayof_georef_coord_array this,
type(georef_coord_array), intent(in)  content,
integer, intent(in), optional  pos 
)

Method for inserting an element of the array at a desired position.

If necessary, the array is reallocated to accomodate the new element.

Parametri
thisarray object to extend
[in]contentobject of TYPE TYPE(georef_coord_array) to insert
[in]posposition where to insert, if it is out of range, it is clipped, if it is not provided, the object is appended

Definizione alla linea 523 del file georef_coord_class.F90.

523 ! import it in georef_coord object
524  this = georef_coord_array_new(x=dble(shpobj%padfx), y=dble(shpobj%padfy), &
525  topo=shpobj%nshptype)
526  IF (shpobj%nparts > 1 .AND. ASSOCIATED(shpobj%panpartstart)) THEN
527  this%parts = shpobj%panpartstart(:) ! automatic f95 allocation
528  ELSE IF (ALLOCATED(this%parts)) THEN

Generated with Doxygen.