Hi There,
There is a Voronoi library built in the UE5. It uses voro++ under the hood.
I’m using it and trying get data out of it using the initialise() function.
Initialise function within FVoronoiDiagram
I can see in the module that there is a struct for Cell data but there doesn’t seem to be any instances of that returned from the initialisation (creating the diagram)
It seems I can perform the diagram calculation but I can’t retrieve any data from it. Below is my attempt:
FBox testBox = FBox(FVector(0,0,0), FVector(_PlaneScale, _PlaneScale, 10000));
FVoronoiDiagram* testVoronoiDiagram = new FVoronoiDiagram(_CircumCentrePoints, 0, 0.0001);
testVoronoiDiagram->Initialize(_CircumCentrePoints, testBox,0, 0.0001);
Can anyone direct me on how to retrieve the instanced diagram data from a performed Voronoi Diagram using this module? Thanks