Point.transform
- Point.transform(T)[source]
Transform this point.
- Parameters
T (
compas.geometry.Transformation
or list of list) – The transformation matrix.
Examples
>>> from compas.geometry import Translation >>> point = Point(0.0, 0.0, 0.0) >>> T = Translation.from_vector([1.0, 1.0, 1.0]) >>> point.transform(T) >>> point.x == 1.0 True