(self, obj: Shape)
| 368 | """ |
| 369 | |
| 370 | def key(self, obj: Shape) -> float: |
| 371 | if obj.ShapeType() in ("Edge", "Wire"): |
| 372 | return cast(Shape1DProtocol, obj).radius() |
| 373 | else: |
| 374 | raise ValueError("Can not get a radius from this object") |
| 375 | |
| 376 | |
| 377 | class CenterNthSelector(_NthSelector): |