OperationInterface#
Module for OperationInterface class.
- class OperationInterface(geometries)[source]#
Bases:
Location
Abstract set operation class. Any geometry operation entity must inherit from this class.
- Parameters:
geometries (list) – A list of geometries from
pina.geometry
such asEllipsoidDomain
orCartesianDomain
.
- property geometries#
The geometries to perform set operation.
- property variables#
Spatial variables of the domain.
- abstract is_inside(point, check_border=False)[source]#
Check if a point is inside the resulting domain after a set operation is applied.
- Parameters:
point (torch.Tensor) – Point to be checked.
check_border (bool) – If
True
, the border is considered inside.
- Returns:
True
if the point is inside the Intersection domain,False
otherwise.- Return type: