/Engine/Plugins/Editor/UVEditor/Source/UVEditorTools/Public/Drawing/BasicElementSet.h
Reserve enough memory for up to the given maximum number of points. This function needs to be called before any calls toAddElement().
void ReserveElements ( const int32 MaxNum )