X-Git-Url: https://scm.cri.minesparis.psl.eu/git/linpy.git/blobdiff_plain/6ec23dc57252ffe01aa60595fc499f580381e4a9..7b93cea1daf2889e9ee10ca9c22a1b5124404937:/pypol/geometry.py diff --git a/pypol/geometry.py b/pypol/geometry.py deleted file mode 100644 index d1d6770..0000000 --- a/pypol/geometry.py +++ /dev/null @@ -1,25 +0,0 @@ - -from abc import ABC, abstractmethod, abstractproperty - - -__all__ = [ - 'GeometricObject', -] - - -class GeometricObject(ABC): - - @abstractproperty - def symbols(self): - pass - - @property - def dimension(self): - return len(self.symbols) - - @abstractmethod - def aspolyhedron(self): - pass - - def asdomain(self): - return self.aspolyhedron()