rm

 

Removes any points that are within the specified point range and specified volume of space.

Format

rm / geom / ifirst, ilast, istride / xmin, ymin, zmin / xmax, ymax, zmax / xcen, ycen, zcen / [xscale, yscale, zscale]

 

rm Parameters

Parameters

Type/Value

Description/Default

geom

xyz

Cartesian coordinates.

 

rtz

Cylindrical coordinates. theta is the angle in the XY- plane with respect to the x-axis. The cylinder always lines up along the z axis.

 

rtp

Spherical coordinates. theta is the angle with respect to the Z-axis and phi is the angle in the XY-plane with respect to the X-axis.

ifirst, ilast, istride

integers

Point range to search.

 

xmin, ymin, zmin

reals

Minimums of geometry type coordinates.

 

xmax, ymax, zmax

reals

Maximums of geometry type coordinates.

 

xcen, ycen, zcen

reals

Center of removal space for geometry.

xscale, yscale, zscale

reals

Scaling factors for geometry limits.

Note

Use the coordsys command before issuing the rm command if the points to be removed are not aligned with the z-axis; then issue a final coordsys command to return to normal. Also note that the points that are removed become dudded out (point type set to 21) and not removed from the data array.

Example

rm / xyz / 1, 0, 0 / 2., 2., 2. / 4., 4., 4. / 0., 0., 0.

rm / rtz / 1, 0, 0 / 0., 0., 0. / 1., 360., 10. / 0., 0., 0.