Main Page | Alphabetical List | Compound List | File List | Compound Members | File Members

srm_struct_util.h

Go to the documentation of this file.
00001 /* SRM API
00002  *
00003  * SRM_SDK_VER_GOES_HERE
00004  *

00006  *

00008  *
00009  * SRM_OTHERS_GOES_HERE
00010  *

00012  */
00013 
00014 
00024 /*
00025  * For other release dates/detailed changes, contact SAIC.
00026  */
00027 
00028 /*
00029  * Ensure that srm_struct_util.h is only included once.
00030  */
00031 #ifndef _SRM_STRUCT_UTIL_H_INCLUDED
00032 #define _SRM_STRUCT_UTIL_H_INCLUDED
00033 
00034 #if !defined(_WIN32)
00035 #define EXPORT_DLL
00036 #elif !defined(EXPORT_DLL)
00037 #if defined(_LIB)
00038 #define EXPORT_DLL
00039 #elif defined(_USRDLL)
00040 #define EXPORT_DLL __declspec(dllexport)
00041 #else
00042 #define EXPORT_DLL __declspec(dllimport)
00043 #endif
00044 #endif /* _WIN32 && EXPORT_DLL */
00045 
00046 /*
00047  * Allow C++ compilers to use this API without any problems
00048  */
00049 #ifdef __cplusplus
00050 extern "C" {
00051 #endif
00052 
00053 #include "srm_types.h"
00054 
00058 EXPORT_DLL extern SRM_Status_Code
00059 SRM_CreateSRFFromSRFTemplateParams
00060 (
00061     const SRM_SRFT_Parameters  *srft_params_in_ptr,
00062           SRM_RT_Code          rt_code,
00063           SRM_Object_Reference *srf_out_ptr
00064 );
00065 
00069 EXPORT_DLL extern SRM_Status_Code
00070 SRM_DestroySRF
00071 (
00072     SRM_Object_Reference srf_ptr
00073 );
00074 
00078 EXPORT_DLL extern SRM_Status_Code 
00079 SRM_CreateCoordinateFromCoordinateParams
00080 ( 
00081           SRM_Object_Reference    srf, 
00082     const SRM_Coordinate          *coord_params_in_ptr, 
00083           SRM_Object_Reference    *coordinate_out_ptr 
00084 );
00085 
00089 EXPORT_DLL extern SRM_Status_Code 
00090 SRM_DestroyCoordinate
00091 ( 
00092     SRM_Object_Reference    coordinate_ptr 
00093 );
00094 
00099 EXPORT_DLL extern SRM_Status_Code 
00100 SRM_GetCoordFromCoordinate
00101 ( 
00102     SRM_Object_Reference  coordinate, 
00103     SRM_Coordinate        *coord_params_out_ptr
00104 );
00105 
00110 EXPORT_DLL extern SRM_Status_Code 
00111 SRM_SetCoordValues
00112 ( 
00113     SRM_Object_Reference  coord_in_ptr,  
00114     SRM_Long_Float        oordinate1_in,
00115     SRM_Long_Float        oordinate2_in,  
00116     SRM_Long_Float        oordinate3_in 
00117 );
00118 
00123 EXPORT_DLL extern SRM_Status_Code 
00124 SRM_GetCoordValues
00125 ( 
00126       const SRM_Object_Reference  coord_in_ptr,  
00127             SRM_Long_Float        *oordinate1_out_ptr,
00128             SRM_Long_Float        *oordinate2_out_ptr, 
00129             SRM_Long_Float        *oordinate3_out_ptr
00130 );
00131 
00135 EXPORT_DLL extern SRM_Boolean 
00136 SRM_IsCoordAngular
00137 ( 
00138         const SRM_Object_Reference coord_in_ptr
00139 );
00140 
00144 EXPORT_DLL extern SRM_Boolean 
00145 SRM_IsCoord2D
00146 ( 
00147         const SRM_Object_Reference coord_in_ptr 
00148 );
00149 
00153 EXPORT_DLL extern SRM_Boolean 
00154 SRM_IsCoordSurface
00155 ( 
00156         const SRM_Object_Reference coord_in_ptr 
00157 );
00158 
00162 EXPORT_DLL extern SRM_Boolean 
00163 SRM_IsCoord3D
00164 ( 
00165         const SRM_Object_Reference coord_in_ptr
00166 );
00167 
00168 #ifdef __cplusplus
00169 }
00170 #endif
00171 
00172 #endif
00173 
00174 
00175 

C API Version: 4.1.1 - 14 Jun 2007
Copyright © 2007 SEDRIS Docs by Doxygen 1.3.2