Exception: Add exception with message box for not implement method.

This commit is contained in:
Pierre-Antoine Rouby committed 2023-04-18 11:27:32 +02:00
1 parent 726921af6a
commit 52c4eec72a
5 files changed
+75 -8

No files matched your search

+3
View File
@@ -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.