mirror of https://gitlab.com/pamhyr/pamhyr2
Geometry: Minor change.
parent
7181122a3a
commit
22aeda105e
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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():
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue