(values: tuple, dim: Shape, **kwargs)
| 480 | |
| 481 | @staticmethod |
| 482 | def __stack__(values: tuple, dim: Shape, **kwargs) -> 'Geometry': |
| 483 | if all(type(v) == type(values[0]) for v in values): |
| 484 | return NotImplemented # let attributes be stacked |
| 485 | else: |
| 486 | from ._geom_ops import GeometryStack |
| 487 | return GeometryStack(math.layout(values, dim)) |
| 488 | |
| 489 | def __flatten__(self, flat_dim: Shape, flatten_batch: bool, **kwargs) -> 'Geometry': |
| 490 | dims = self.shape.without('vector') |
nothing calls this directly
no test coverage detected