How do you get a custom FCollisionShape from a static mesh or other Geometry

I am trying to convert a UStaticMesh into an FCollisionShape for use in a SweepSingleByProfile()

the static mesh is a quarter of a cylinder

I have the Mesh defined as simply
UPROPERTY(EditDefaultsOnly) UStaticMesh* ScanMesh;

one source indicates that get collision shape can be used, but I am not able to find any such function in the documentation for a static mesh, only for some simple geometries. Casting did not work either.
: Why does SweepSingleByChannel not work with a Box?