This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
from triangle_hash import TriangleHash as _TriangleHash | |
def check_mesh_contains(mesh, points, hash_resolution=512): | |
intersector = MeshIntersector(mesh, hash_resolution) | |
contains = intersector.query(points) | |
return contains | |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.