Geometry: Points: Fix point insertions pamhyr_id creation and default value.

This commit is contained in:
parouby committed 2025-08-26 10:03:54 +02:00
1 parent 1457db721b
commit f9a8512477
3 files changed
+13 -4

No files matched your search

+4 -1
View File
@@ -28,7 +28,7 @@ from Model.Geometry.Point import Point
logger = logging.getLogger()
class PointXYZ(Point, SQLSubModel):
class PointXYZ(Point):
_sub_classes = []
def __init__(self, id: int = -1,
@@ -302,6 +302,9 @@ class PointXYZ(Point, SQLSubModel):
self._z = float(value)
self.modified()
def get_coordinate(self):
return (self._x, self._y, self._z)
def is_nan(self):
"""
Returns: