Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Function to Call Percent Size? (http://www.chiefdelphi.com/forums/showthread.php?t=74365)

Team1710 13-02-2009 16:51

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!

MattD 13-02-2009 17:28

Re: Function to Call Percent Size?
 
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;

Team1710 13-02-2009 18:23

Re: Function to Call Percent Size?
 
Do you need to initialize or include anything before you call that function?


All times are GMT -5. The time now is 02:18.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi