generate_boundary_markers#

module opensg.utils.shell

opensg.utils.shell.generate_boundary_markers(xmin, xmax)#

Generate functions to mark left and right boundaries of a mesh.

Parameters:
  • xmin (float) – Minimum x-coordinate of the mesh

  • xmax (float) – Maximum x-coordinate of the mesh

Returns:

tuple – Two functions that return True for points on the left and right boundaries respectively