Centroid

The example FRED file below demonstrates how to use the data in an Analysis Results Node to extract centroid information.  The embedded script called "Raytrace and Irradiance Centroid" will perform a raytrace and an irradiance calculation using the analysis surface designated on line 9 of the script.  The irradiance calculation is routed to an Analysis Results Node by using the IrradianceToARN scripting command on line 17.  Lastly, the ARNCompute2DCellStatistics command is called on line 21 in order to populate the T_ARN_2D_CELL_STATS data structure and the computed centroid coordinates are printed to the output window.

Example FRED file: ARN_Centroid.frd 

Still need help? Contact Us Contact Us