[ Previous | Next | Contents | Glossary | Home | Search ]
The graPHIGS Programming Interface: ISO PHIGS Subroutine Reference

DELETE ELEMENT RANGE (PHOP,*,STOP,*)

Purpose

Use Delete Element Range to delete all structure elements between and including the elements indicated by the specified element numbers.

After deletion, the element pointer moves to the element immediately preceding any deleted elements. If both values point beyond the last element of the structure or both values are less than zero, then the graPHIGS API does not delete any elements and the element pointer remains the same. If one of the values is less than zero, then the element pointer defaults to a value of zero. If one of the values is greater than the number of elements in the open structure, then the graPHIGS API uses the element number of the last element in the open structure instead.

Language Bindings

C

pdel_elem_range (elem_ptr1_value, elem_ptr2_value)

Input Parameters

Pint elem_ptr1_value
Element pointer 1 value.

Pint elem_ptr2_value
Element pointer 2 value.

FORTRAN

PDELRA (ep1, ep2)

Input Parameters

integer ep1
Element position 1 value.

integer ep2
Element position 2 value.

Errors

5
Function Requires State (PHOP,*,STOP,*)

Related Subroutines

  • None


  • [ Previous | Next | Contents | Glossary | Home | Search ]