Function to Call Percent Size?

Is there a function in the WPI Library in a class somewhere that allows me to call the percent size of the target being processed? I need to use it to calculate range.

Thanks!

The ParticleAnalysisReport structure has a field called particleToImagePercent. You’d use it the same way you’d look at the x and y coordinates.

double percent = par->particleToImagePercent;

Do you need to initialize or include anything before you call that function?