166

Transforming shapes
Scaling a coordinate system

  • Scaling grows or shrinks the coordinate system and its shapes
  • Use a single scale factor for uniform scaling
  • Use X, Y, and Z scale factors for non-uniform scaling
  • Method
    void set( double scale )
    void setScale( Vector3d scale )