Routines (alphabetical) > Object Classes > Analysis Object Classes > IDLanROI::RemoveData

# IDLanROI::RemoveData

The IDLanROI::RemoveData procedure method removes vertices from the region.

## Syntax

Obj->[IDLanROI::]RemoveData[, COUNT=vertices] [, START=index] [, XRANGE=variable] [, YRANGE=variable] [, ZRANGE=variable]

## Arguments

None.

## Keywords

### COUNT

Set this keyword to the number of vertices to remove. The default is one vertex.

### START

Set this keyword to an index (into the region’s current vertex list) where the removal is to begin. By default, the final vertex is removed.

### XRANGE

Set this keyword to a named variable that upon return contains a two-element vector, [xmin, xmax], that represents the X range of the modification to the region. The reported range accounts for the vertex just before the removal (if any), the vertex just after the removal (if any), and the removed vertices. This data is returned in double-precision floating-point.

### YRANGE

Set this keyword to a named variable that upon return contains a two-element vector, [ymin, ymax], that represents the Y range of the modification to the region. The reported range accounts for the vertex just before the removal (if any), the vertex just after the removal (if any), and the removed vertices. This data is returned in double-precision floating-point.

### ZRANGE

Set this keyword to a named variable that upon return contains a two-element vector, [zmin, zmax], that represents the Z range of the modification to the region. The reported range accounts for the vertex just before the removal (if any), the vertex just after the removal (if any), and the removed vertices. This data is returned in double-precision floating-point.

## Version History

5.3 | Introduced