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
@@ -50,6 +50,9 @@ class PointXYZ(Point):
|
||||
isna(self.y) or
|
||||
isna(self.z))
|
||||
|
||||
def dist(self, p2):
|
||||
return PointXYZ.distance(self, p2)
|
||||
|
||||
@staticmethod
|
||||
def distance(p1, p2):
|
||||
"""Euclidean distance between p1 and p2.
|
||||
|
||||
Reference in new issue
Block a user