distance3d.containment_test.points_in_ellipsoid

distance3d.containment_test.points_in_ellipsoid(points, ellipsoid2origin, radii)[source]

Test if points are in ellipsoid.

Parameters:
pointsarray, shape (n_points, 3)

Points.

ellipsoid2originarray, shape (4, 4)

Pose of the ellipsoid.

radiiarray, shape (3,)

Radii of the ellipsoid.

Returns:
containedarray, shape (n_points,)

Boolean array indicating whether each point is contained or not.