# AffectViewingBox

Influence of objects on the ViewingBox of a scene

## Value Summary

 Inherited `FALSE`, or `TRUE`

## Description

`AffectViewingBox` determines whether the `ViewingBox` of an object should be taken into account for the total `ViewingBox` of the graphical scene.

Usually, the visible area/volume of a graphical scene is automatically chosen as the smallest box containing all objects of the scene. Objects with `AffectViewingBox = FALSE` are ignored in the computation of this box.

## Examples

### Example 1

We plot the sine and the exponential function in one scene:

```plot(plot::Function2d(sin(x), x = -PI..PI), plot::Function2d(exp(x), x = -PI..PI))```

The exponential function dominates the sine. We set ```AffectViewingBox = FALSE``` for `exp`. Now, only the sine function determines the visible area and `exp` is only visible where it is in the `ViewingBox` of the sine function:

```plot(plot::Function2d(sin(x), x = -PI..PI), plot::Function2d(exp(x), x = -PI..PI, AffectViewingBox = FALSE))```