Frame.from_points
- classmethod Frame.from_points(point, point_xaxis, point_xyplane)
Constructs a frame from 3 points.
- Parameters
- Returns
Frame
– The constructed frame.
Examples
>>> frame = Frame.from_points([0, 0, 0], [1, 0, 0], [0, 1, 0]) >>> frame.point Point(0.000, 0.000, 0.000) >>> frame.xaxis Vector(1.000, 0.000, 0.000) >>> frame.yaxis Vector(0.000, 1.000, 0.000)