Set the calculation method for the z-order. Parameters ---------- zsort : {'average', 'min', 'max'} The function applied on the z-coordinates of the vertices in the viewer's coordinate system, to determine the z-order.
(self, zsort)
| 1318 | } |
| 1319 | |
| 1320 | def set_zsort(self, zsort): |
| 1321 | """ |
| 1322 | Set the calculation method for the z-order. |
| 1323 | |
| 1324 | Parameters |
| 1325 | ---------- |
| 1326 | zsort : {'average', 'min', 'max'} |
| 1327 | The function applied on the z-coordinates of the vertices in the |
| 1328 | viewer's coordinate system, to determine the z-order. |
| 1329 | """ |
| 1330 | self._zsortfunc = self._zsort_functions[zsort] |
| 1331 | self._sort_zpos = None |
| 1332 | self.stale = True |
| 1333 | |
| 1334 | @_api.deprecated("3.10") |
| 1335 | def get_vector(self, segments3d): |
no outgoing calls
no test coverage detected