Python | Sympy Plane.perpendicular_plane() method
Plane.perpendicular_plane()is used to return a perpendicular plane passing through the given points. If the direction ratio between the points is the same as the Plane’s normal vector then, to select from the infinite number of possible planes, a third point will be chosen on the z-axis (or the y-axis if the normal vector is already parallel to the z-axis).
If less than two points are given they will be supplied as follows: if no point is given then pt1 will be self.p1; if a second point is not given it will be a point through pt1 on a line parallel to the z-axis (if the normal is not already the z-axis, otherwise on the line parallel to the y-axis).
Syntax: Plane.perpendicular_plane(pts) Parameters: pts: 0, 1 or 2 Point3D Returns: Plane
Plane(Point3D(0, 0, 0), (2, 2, -2))
Plane(Point3D(1, 1, 0), (-1, 0, 0))