skspatial.objects.Plane

Methods

best_fit(points[, tol])

Return the plane of best fit for a set of 3D points.

cartesian()

Return the coefficients of the Cartesian equation of the plane.

distance_point(point)

Return the distance from a point to the plane.

distance_point_signed(point)

Return the signed distance from a point to the plane.

distance_points(point)

Return the distances from multiple points to the plane.

distance_points_signed(points)

Return the signed distances from multiple points to the plane.

from_points(point_a, point_b, point_c, **kwargs)

Instantiate a plane from three points.

from_vectors(point, vector_a, vector_b, **kwargs)

Instantiate a plane from a point and two vectors.

intersect_line(line, **kwargs)

Intersect the plane with a line.

intersect_plane(other, **kwargs)

Intersect the plane with another.

plot_3d(ax_3d[, lims_x, lims_y])

Plot a 3D plane.

project_line(line, **kwargs)

Project a line onto the plane.

project_point(point)

Project a point onto the plane.

project_points(points)

Project multiple points onto the plane.

project_vector(vector)

Project a vector onto the plane.

side_point(point)

Find the side of the plane where a point lies.

to_mesh([lims_x, lims_y])

Return coordinate matrices for the 3D surface of the plane.

to_points(**kwargs)

Return points on the surface of the object.