The function LoadFeatureConfig reads the configuration file FName containing the definitions of the particle features. This method can be used to load, for example, a default configuration of the particle features. If LoadFeatureConfig is successful the features are reconfigured to the loaded configuration. Any existing feature definitions will be lost. Please note that this method loads and changes only the feature definitions but not the content of the particle feature matrix (except for adjusting the number of features). Thus after loading a new configuration, the remaining feature data might be nonsense. Thus we strongly recommend to use this method with care and use it only before any particle data are loaded.
The function returns the following error codes:
0 ... everything is OK, the particle features have been configured accordingly
-1 ... cannot read the configuration data