Update of LabelTensor class and fix Simplex domain (#362)
*Implement new methods in LabelTensor and fix operators
This commit is contained in:
committed by
Nicola Demo
parent
fdb8f65143
commit
7528f6ef74
@@ -41,7 +41,10 @@ class Union(OperationInterface):
|
||||
|
||||
@property
|
||||
def variables(self):
|
||||
return list(set([geom.variables for geom in self.geometries]))
|
||||
variables = []
|
||||
for geom in self.geometries:
|
||||
variables+=geom.variables
|
||||
return list(set(variables))
|
||||
|
||||
def is_inside(self, point, check_border=False):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user