Origin.transform
-
Origin.
transform
(T) Transform the frame.
- Parameters
T (
compas.geometry.Transformation
) – The transformation.
Examples
>>> from compas.geometry import Transformation >>> f1 = Frame([1, 1, 1], [0.68, 0.68, 0.27], [-0.67, 0.73, -0.15]) >>> T = Transformation.from_frame(f1) >>> f2 = Frame.worldXY() >>> f2.transform(T) >>> f1 == f2 True