Cast a TopoDS_Shape to a Shape of the specfied type.
(s: TopoDS_Shape, _: type[T])
| 5364 | |
| 5365 | |
| 5366 | def _shape(s: TopoDS_Shape, _: type[T]) -> T: |
| 5367 | """ |
| 5368 | Cast a TopoDS_Shape to a Shape of the specfied type. |
| 5369 | """ |
| 5370 | |
| 5371 | return tcast(T, Shape.cast(s)) |
| 5372 | |
| 5373 | |
| 5374 | def _shape_to_faces_shells( |
no test coverage detected