skspatial.objects.Plane.project_points¶
- Plane.project_points(points: Union[ndarray, Sequence]) Points [source]¶
Project multiple points onto the plane.
- Parameters:
- pointsarray_like
Input points.
- Returns:
- Points
Projections of the points onto the plane.
Examples
>>> from skspatial.objects import Plane
>>> plane = Plane(point=[0, 0, 0], normal=[0, 0, 2])
>>> plane.project_points([[10, 2, 5],[1, 2, 3]]) Points([[10., 2., 0.], [ 1., 2., 0.]])