Point.transform
- Point.transform(T)[source]
Transform this point.
- Parameters
T (
Transformation
| list[list[float]]) – 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