mrdja.geometry.get_distance_from_points_to_plane

mrdja.geometry.get_distance_from_points_to_plane(points: ndarray, plane: Tuple[float, float, float, float]) ndarray[source]

Get the distance from a np array of points to a plane.

Parameters:
  • points (np.ndarray) – Points.

  • plane (Tuple[float, float, float, float]) – Plane equation coefficients.

Returns:

Distance from points to plane.

Return type:

np.ndarray

Example: