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

# IDLanROI::AppendData

The IDLanROI::AppendData procedure method appends vertices to the region.

## Syntax

Obj->[IDLanROI::]AppendData, X [, Y] [, Z] [, XRANGE=variable] [, YRANGE=variable] [, ZRANGE=variable]

## Arguments

### X

A vector providing the X components of the vertices to be appended. If the Y and Z arguments are not specified, X must be a two-dimensional array with the leading dimensions either 2 or 3 ([2,*] or [3,*]), in which case, X[0,*] represents the X values, X[1,*] represents the Y values, and X[2,*] represents the Z values. If the DOUBLE property is non-zero, the data is converted to double precision and is appended to the existing double precision data. Otherwise it is converted to single precision floating point and appended to the existing single precision data.

### Y

A vector providing the Y components of the vertices to be appended. If the DOUBLE property is non-zero, the data is converted to double precision and is appended to the existing double precision data. Otherwise it is converted to single precision floating point and appended to the existing single precision data.

### Z

A vector providing the Z components of the vertices to be appended. If the DOUBLE property is non-zero, the data is converted to double precision and is appended to the existing double precision data. Otherwise it is converted to single precision floating point and appended to the existing single precision data.

## Keywords

### XRANGE

Set this keyword to a named variable that upon return contains a two-element vector, [xmin, xmax], representing the X range of the modification to the region. The reported range accounts for the last vertex in the region before the append occurred, as well as all vertices appended. 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], representing the Y range of the modification to the region. The reported range accounts for the last vertex in the region before the append occurred, as well as all vertices appended. 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], representing the Z range of the modification to the region. The reported range accounts for the last vertex in the region before the append occurred, as well as all vertices appended. This data is returned in double-precision floating-point.

## Version History

5.3 | Introduced