Beam.scaled

Beam.scaled(x, y=None, z=None)[source]

Returns a scaled copy of this geometry.

Parameters:
xfloat

The scaling factor in the x-direction.

yfloat, optional

The scaling factor in the y-direction. Defaults to x.

zfloat, optional

The scaling factor in the z-direction. Defaults to x.

Returns:
Geometry

The scaled geometry.