SRM Reference Manual
Functions
SRM SupportedSRFOperation
extern SRM_Status_Code
SRM_SupportedSRFOperation
(
constSRM_SRF_Parameters *source_SRF_params_ptr, (notes)
constSRM_SRF_Parameters *dest_SRF_params_ptr, (notes)
SRM_Boolean *result_out_ptr (notes)
);

Definition

Determines if a coordinate conversion / transformation from *source_SRF_params_ptr to *dest_SRF_params_ptr is supported by the SRM.


Returns

SRM_STAT_CODE_SUCCESS and *result_out_ptr is set appropriately, if valid parameters were passed in.
SRM_STAT_CODE_INVALID_SOURCE_SRF_PARAMETERS and *result_out_ptr is set to SRM_FALSE if result_out_ptr isn't NULL, if source_SRF_params_ptr is NULL or *source_SRF_params_ptr is invalid.
SRM_STAT_CODE_INVALID_DEST_SRF_PARAMETERS and *result_out_ptr is set to SRM_FALSE if result_out_ptr isn't NULL, if dest_SRF_params_ptr is NULL or *dest_SRF_params_ptr is invalid.
SRM_STAT_CODE_FAILURE and no changes are made, if result_out_ptr is NULL.


Parameters Notes


source_SRF_params_ptr

 pointer to a structure already filled out
    by the user for the source SRF that the user wishes to
    convert from

dest_SRF_params_ptr

 pointer to a structure already filled out
    by the user for the destination SRF that the user wishes
    to convert to

result_out_ptr

 pointer to a variable in the user's memory space where
    the result will be placed


Prev: SRM_SetOutFilePtr. Next: SRM_ValidAECParameters3D. Up:Index.

Last updated: October 1, 2002 Copyright © 2002 SEDRIS™