Previous IDL Reference Guide: Graphics Object Classes Next

IDLgrModel::Scale

Syntax | Arguments | Keywords | Version History

The IDLgrModel::Scale procedure method scales the model by the specified scaling factors. IDL computes and maintains the resulting transform matrix in double-precision floating-point.

Syntax

Obj->[IDLgrModel::]Scale, Sx, Sy, Sz [, /PREMULTIPLY]

Arguments

Sx, Sy, Sz

The scaling factors in the x, y, and z dimensions by which the model is to be scaled.

Keywords

PREMULTIPLY

Set this keyword to cause the scaling matrix specified by Sx, Sy, Sz to be pre-multiplied to the model's transformation matrix. By default, the scaling matrix is post-multiplied.

Version History

5.0
Introduced

  IDL Online Help (March 06, 2007)