normalization - Manual do Geomview
Description: Manual do Geomview

Next: not, Previous: NeXT, Up: GCL Reference

#### 7.2.86 normalization

`(normalization GEOM-ID {each|none|all|keep})`
  Set the normalization status of GEOM-ID.
  `none`
    suppresses all normalization.
  `each`
    normalizes the objeto's bounding box to fit into the unit sphere, with the center of its bounding box translated to the origin. The box is scaled such that its long diagonal, sqrt((xmax-xmin)^2 + (ymax-ymin)^2 + (zmax-zmin)^2), is 2.
  `all`
    resembles `each`, except when an objeto is changing (e.g. when its geometry is being changed by an external program). Then, `each` tightly fits the bounding box around the objeto whenever it changes and normalizes accordingly, while `all` normalizes the union of all variants of the objeto and normalizes accordingly.
  `keep`
    leaves the current normalization transform unchanged when the objeto changes. It may be useful to apply `each` or `all` normalization apply to the first version of a changing objeto to bring it in view, then switch to `keep`.