Domain#

Module for the Domain Interface.

class DomainInterface[source]#

Bases: object

Abstract base class for geometric domains. All specific domain types should inherit from this class.

abstract property variables#

Abstract method returning the domain variables.

abstract property sample_modes#

Abstract method defining sampling methods.

abstract sample()[source]#

Abstract method for the sampling routine.

abstract is_inside(point, check_border=False)[source]#

Abstract method for checking if a point is inside the domain.

Parameters:
  • point (LabelTensor) – Point to be checked.

  • check_border (bool) – If True, the border is considered inside the domain. Default is False.