distance3d.containment_test.points_in_disk¶
- distance3d.containment_test.points_in_disk(points, center, radius, normal)[source]¶
Test if points are in disk.
- Parameters:
- pointsarray, shape (n_points, 3)
Points.
- centerarray, shape (3,)
Center of the disk.
- radiusfloat
Radius of the disk.
- normalarray, shape (3,)
Normal to the plane in which the disk lies.
- Returns:
- containedarray, shape (n_points,)
Boolean array indicating whether each point is contained or not.