polytopax.core.ConvexHull.contains

ConvexHull.contains(point: Array, tolerance: float = 1e-08) bool[source]

Test if point is inside hull.

Parameters:
  • point – Point to test with shape (dim,)

  • tolerance – Numerical tolerance

Returns:

True if point is inside or on boundary