Std::vector to TArray

Assuming numObstLines is the number of elements to copy from lines then you can do

TArray<FLine> projLines(lines.GetData(), numObstLines);