If no arguments are supplied, window turns off global clipping and adjusts the scale to include all displayed atoms, bonds, ribbon segments, and surfaces. This is equivalent to clicking View All in the Side View.
Otherwise, window turns on global clipping and adjusts the scale and clipping plane positions to enclose the specified atoms and surface pieces, regardless of whether they are displayed.
Model rotations and translations are left unchanged.
See also: align, center, focus, reset, the Side View