Plane.from_frame
- classmethod Plane.from_frame(frame)
Construct a plane from a frame.
- Returns
compas.geometry.Plane
– A plane with the frame’spoint
and the frame’snormal
.
Examples
>>> from compas.geometry import Frame >>> frame = Frame([1, 1, 1], [0.68, 0.68, 0.27], [-0.67, 0.73, -0.15]) >>> Plane.from_frame(frame) Plane(Point(1.000, 1.000, 1.000), Vector(-0.299, -0.079, 0.951))