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
pdel_elem_range (elem_ptr1_value, elem_ptr2_value) |
PDELRA (ep1, ep2) |
Errors
Related Subroutines