rockverse.region.Cylinder.contains_point#

Cylinder.contains_point(x, y, z)#

Check if a point (x, y, z) belongs to the region.

Parameters:
  • x (float) – Point x-coordinate in voxel units.

  • y (float) – Point y-coordinate in voxel units.

  • z (float) – Point z-coordinate in voxel units.

Returns:

b – True if point inside region, False otherwise.

Return type:

bool