Geometry: Minor change.

scenarios
Pierre-Antoine 2025-09-08 14:19:49 +02:00
parent 7181122a3a
commit 22aeda105e
2 changed files with 4 additions and 2 deletions

View File

@ -292,6 +292,9 @@ class PointXYZ(Point):
def __repr__(self):
return f"({self._x}, {self._y}, {self._z}, {self._name})"
def __gt__(self, other):
return self.y > other.y
@property
def x(self):
return self._x

View File

@ -1025,8 +1025,7 @@ class ProfileXYZ(Profile, SQLSubModel):
point,
self.point(ind + 1)
),
ind,
point
ind, point
))
while self.nb_points > np_purge and not q_area.empty():