distance3d.containment_test.points_in_cone

distance3d.containment_test.points_in_cone(points, cone2origin, radius, height)[source]

Test if points are in cone.

Parameters:
pointsarray, shape (n_points, 3)

Points.

cone2originarray, shape (4, 4)

Pose of the cone.

radiusfloat

Radius of the cone.

heightfloat

Length of the cone.

Returns:
containedarray, shape (n_points,)

Boolean array indicating whether each point is contained or not.