mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Exception: Add exception with message box for not implement method.
This commit is contained in:
1 parent
726921af6a
commit
52c4eec72a
5 files changed
+75
-8
No files matched your search
@@ -31,6 +31,9 @@ class PointAC(Point):
|
||||
def c(self, value):
|
||||
self._c = float(value)
|
||||
|
||||
def dist(self, p2):
|
||||
return PointAC.distance(self, p2)
|
||||
|
||||
@staticmethod
|
||||
def distance(p1, p2):
|
||||
"""Euclidean distance between p1 and p2.
|
||||
|
||||
Reference in new issue
Block a user