Box.transform

Box.transform(transformation)[source]

Transform the box.

Parameters

transformation (Transformation) – The transformation used to transform the Box.

Returns

None

Examples

>>> box = Box(Frame.worldXY(), 1.0, 2.0, 3.0)
>>> frame = Frame([1, 1, 1], [0.68, 0.68, 0.27], [-0.67, 0.73, -0.15])
>>> T = Transformation.from_frame(frame)
>>> box.transform(T)