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:
- meshdiscretize.base.BaseMesh
- Discretize mesh 
- pts(n,dim)numpy.ndarray
- Set of points defining the convex hull 
 
- mesh
- Returns:
 
 
     
