is_point_inside#

Structure.is_point_inside(point, lattice=None)[source]#

A method to determine if a point is inside the unitcell

Parameters:
  • point (np.ndarray) – The point in question

  • lattice (np.ndarray, optional) – The crystal lattice matrix, by default None

Returns:

bool – Boolean if a point is inside the unitcell