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): def __repr__(self):
return f"({self._x}, {self._y}, {self._z}, {self._name})" return f"({self._x}, {self._y}, {self._z}, {self._name})"
def __gt__(self, other):
return self.y > other.y
@property @property
def x(self): def x(self):
return self._x return self._x

View File

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