Does Unreal have 2d rectangle collision functions in c++?

I’m working on a game where puzzle pieces are randomly scattered on a table with random rotation. When placing them I want to check for overlap, which should be a simple test of if two rectangles overlap since they are placed on a flat surface.

I’ve seen collision tests with bounding boxes attached but are there functions for my use that you can just provide a set of 4 coordinates for each rectangle or size/rotation and it will return if those overlap?

I don’t have any actors yet as this is pre-setup to determine where to place the objects so no bounding boxes.