Line.transform
- Line.transform(T)[source]
- Transform this line. - Parameters:
- Tcompas.geometry.Transformation
- The transformation. 
 
- T
- Returns:
- None
 
 - Examples - >>> from math import radians >>> from compas.geometry import Rotation >>> line = Line([0.0, 0.0, 0.0], [1.0, 0.0, 0.0]) >>> R = Rotation.from_axis_and_angle([0.0, 0.0, 1.0], radians(90)) >>> line.transform(R) >>> print(line.end) Point(x=0.000, y=1.000, z=0.000)