rotatept

 

Rotates a point distribution about a point.

Format
rotatept / first, ilast, istride / nocopy | copy / xcen, ycen, zcen / theta / phi

 

rotatept Parameters

Parameters

Type/Value

Description/Default

ifirst, ilast, istride

integer

Defines the point distribution.

nocopy | copy

nocopy

Just keeps the rotated points themselves.

 

copy

Makes a copy of the original points as well as the rotated points.

xcen, ycen, zcen

reals

Point to rotate point distribution about.

theta

real

The angle of rotation, in degrees, of the xy plane around the Z-axis, where positive phi is measured from the positive x-axis toward the positive y-axis.

phi

integer

The angle of rotation, in degrees, toward the negative z-axis.