simpeg.utils.model_builder.get_indices_polygon#
- simpeg.utils.model_builder.get_indices_polygon(mesh, pts)[source]#
Get indices for cells whose centers lie within the convex hull of a set of points.
- Parameters:
- mesh
discretize.base.BaseMesh
Discretize mesh
- pts(
n
,dim
)numpy.ndarray
Set of points defining the convex hull
- mesh
- Returns:
Galleries and Tutorials using simpeg.utils.model_builder.get_indices_polygon
#
Tensor Meshes
Tree Meshes