00001
00002
00003
00004
00006
00008
00009
00010
00012
00013
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef _SRM_PRINT_H_INCLUDED
00029 #define _SRM_PRINT_H_INCLUDED
00030
00031 #if !defined(_WIN32)
00032 #define EXPORT_DLL
00033 #elif !defined(EXPORT_DLL)
00034 #if defined(_LIB)
00035 #define EXPORT_DLL
00036 #elif defined(_USRDLL)
00037 #define EXPORT_DLL __declspec(dllexport)
00038 #else
00039 #define EXPORT_DLL __declspec(dllimport)
00040 #endif
00041 #endif
00042
00043
00044
00045
00046 #ifdef __cplusplus
00047 extern "C" {
00048 #endif
00049
00050 #include <stdio.h>
00051 #include "srm_types.h"
00052
00053
00054
00060
00061
00062 EXPORT_DLL extern SRM_Integer_Unsigned
00063 SRM_GetMinWidth(void);
00064
00065
00066
00070
00071
00072 EXPORT_DLL extern FILE *
00073 SRM_GetOutFilePtr(void);
00074
00075
00076
00082
00083
00084 EXPORT_DLL extern SRM_Integer_Unsigned
00085 SRM_GetPrecision(void);
00086
00087
00088
00094
00095
00096 EXPORT_DLL extern void
00097 SRM_SetMinWidth
00098 (
00099 SRM_Integer_Unsigned min_width
00100 );
00101
00102
00103
00115
00116
00117 EXPORT_DLL extern SRM_Status_Code
00118 SRM_SetOutFilePtr
00119 (
00120 FILE *out_file_ptr
00121 );
00122
00123
00124
00129
00130
00131 EXPORT_DLL extern void
00132 SRM_SetPrecision
00133 (
00134 SRM_Integer_Unsigned precision
00135 );
00136
00137
00138
00151
00152 EXPORT_DLL extern const char *
00153 SRM_PrintAxisDirection
00154 (
00155 SRM_Axis_Direction value
00156 );
00157
00158
00159
00172
00173 EXPORT_DLL extern const char *
00174 SRM_PrintBoolean
00175 (
00176 SRM_Boolean value
00177 );
00178
00179
00180
00195
00196 EXPORT_DLL extern void
00197 SRM_PrintCD3DCoordinate
00198 (
00199 const SRM_CD_3D_Coordinate *value_ptr,
00200 const char *name_ptr,
00201 SRM_Integer_Unsigned level
00202 );
00203
00204
00205
00220
00221 EXPORT_DLL extern void
00222 SRM_PrintCDSurfaceCoordinate
00223 (
00224 const SRM_CD_Surface_Coordinate *value_ptr,
00225 const char *name_ptr,
00226 SRM_Integer_Unsigned level
00227 );
00228
00229
00230
00244
00245 EXPORT_DLL extern void
00246 SRM_PrintCoordinate
00247 (
00248 const SRM_Coordinate *value_ptr,
00249 const char *name_ptr,
00250 SRM_Integer_Unsigned level
00251 );
00252
00253
00254
00267
00268 EXPORT_DLL extern const char *
00269 SRM_PrintCoordinateValidRegion
00270 (
00271 SRM_Coordinate_Valid_Region value
00272 );
00273
00274
00275
00290
00291 EXPORT_DLL extern void
00292 SRM_PrintCoordinateValidRegionArray
00293 (
00294 const SRM_Coordinate_Valid_Region_Array *value_ptr,
00295 const char *name_ptr,
00296 SRM_Integer_Unsigned level
00297 );
00298
00299
00300
00313
00314 EXPORT_DLL extern const char *
00315 SRM_PrintCSCode
00316 (
00317 SRM_CS_Code value
00318 );
00319
00320
00321
00334
00335 EXPORT_DLL extern const char *
00336 SRM_PrintDSSCode
00337 (
00338 SRM_DSS_Code value
00339 );
00340
00341
00342
00356
00357 EXPORT_DLL extern void
00358 SRM_PrintECParameters
00359 (
00360 const SRM_EC_Parameters *value_ptr,
00361 const char *name_ptr,
00362 SRM_Integer_Unsigned level
00363 );
00364
00365
00366
00381
00382 EXPORT_DLL extern void
00383 SRM_PrintEI3DCoordinate
00384 (
00385 const SRM_EI_3D_Coordinate *value_ptr,
00386 const char *name_ptr,
00387 SRM_Integer_Unsigned level
00388 );
00389
00390
00391
00406
00407 EXPORT_DLL extern void
00408 SRM_PrintEuclidean2DCoordinate
00409 (
00410 const SRM_Euclidean_2D_Coordinate *value_ptr,
00411 const char *name_ptr,
00412 SRM_Integer_Unsigned level
00413 );
00414
00415
00416
00431
00432 EXPORT_DLL extern void
00433 SRM_PrintEuclidean3DCoordinate
00434 (
00435 const SRM_Euclidean_3D_Coordinate *value_ptr,
00436 const char *name_ptr,
00437 SRM_Integer_Unsigned level
00438 );
00439
00440
00441
00452
00453
00454 EXPORT_DLL extern const char *
00455 SRM_PrintInteger
00456 (
00457 SRM_Integer value
00458 );
00459
00460
00461
00472
00473
00474 EXPORT_DLL extern const char *
00475 SRM_PrintIntegerPositive
00476 (
00477 SRM_Integer_Positive value
00478 );
00479
00480
00481
00492
00493
00494 EXPORT_DLL extern const char *
00495 SRM_PrintIntegerUnsigned
00496 (
00497 SRM_Integer_Unsigned value
00498 );
00499
00500
00501
00514
00515 EXPORT_DLL extern const char *
00516 SRM_PrintIntervalType
00517 (
00518 SRM_Interval_Type value
00519 );
00520
00521
00522
00537
00538 EXPORT_DLL extern void
00539 SRM_PrintLCCParameters
00540 (
00541 const SRM_LCC_Parameters *value_ptr,
00542 const char *name_ptr,
00543 SRM_Integer_Unsigned level
00544 );
00545
00546
00547
00562
00563 EXPORT_DLL extern void
00564 SRM_PrintLCE3DParameters
00565 (
00566 const SRM_LCE_3D_Parameters *value_ptr,
00567 const char *name_ptr,
00568 SRM_Integer_Unsigned level
00569 );
00570
00571
00572
00587
00588 EXPORT_DLL extern void
00589 SRM_PrintLocalTangentParameters
00590 (
00591 const SRM_Local_Tangent_Parameters *value_ptr,
00592 const char *name_ptr,
00593 SRM_Integer_Unsigned level
00594 );
00595
00596
00597
00609
00610
00611 EXPORT_DLL extern const char *
00612 SRM_PrintLongFloat
00613 (
00614 SRM_Long_Float value
00615 );
00616
00617
00618
00633
00634 EXPORT_DLL extern void
00635 SRM_PrintLSA2DCoordinate
00636 (
00637 const SRM_LSA_2D_Coordinate *value_ptr,
00638 const char *name_ptr,
00639 SRM_Integer_Unsigned level
00640 );
00641
00642
00643
00658
00659 EXPORT_DLL extern void
00660 SRM_PrintLSP2DCoordinate
00661 (
00662 const SRM_LSP_2D_Coordinate *value_ptr,
00663 const char *name_ptr,
00664 SRM_Integer_Unsigned level
00665 );
00666
00667
00668
00683
00684 EXPORT_DLL extern void
00685 SRM_PrintLSR2DParameters
00686 (
00687 const SRM_LSR_2D_Parameters *value_ptr,
00688 const char *name_ptr,
00689 SRM_Integer_Unsigned level
00690 );
00691
00692
00693
00708
00709 EXPORT_DLL extern void
00710 SRM_PrintLSR3DParameters
00711 (
00712 const SRM_LSR_3D_Parameters *value_ptr,
00713 const char *name_ptr,
00714 SRM_Integer_Unsigned level
00715 );
00716
00717
00718
00733
00734 EXPORT_DLL extern void
00735 SRM_PrintLTSAS3DCoordinate
00736 (
00737 const SRM_LTSAS_3D_Coordinate *value_ptr,
00738 const char *name_ptr,
00739 SRM_Integer_Unsigned level
00740 );
00741
00742
00743
00758
00759 EXPORT_DLL extern void
00760 SRM_PrintLTSASSurfaceCoordinate
00761 (
00762 const SRM_LTSAS_Surface_Coordinate *value_ptr,
00763 const char *name_ptr,
00764 SRM_Integer_Unsigned level
00765 );
00766
00767
00768
00783
00784 EXPORT_DLL extern void
00785 SRM_PrintLTSC3DCoordinate
00786 (
00787 const SRM_LTSC_3D_Coordinate *value_ptr,
00788 const char *name_ptr,
00789 SRM_Integer_Unsigned level
00790 );
00791
00792
00793
00808
00809 EXPORT_DLL extern void
00810 SRM_PrintLTSCSurfaceCoordinate
00811 (
00812 const SRM_LTSC_Surface_Coordinate *value_ptr,
00813 const char *name_ptr,
00814 SRM_Integer_Unsigned level
00815 );
00816
00817
00818
00833
00834 EXPORT_DLL extern void
00835 SRM_PrintLTSE3DCoordinate
00836 (
00837 const SRM_LTSE_3D_Coordinate *value_ptr,
00838 const char *name_ptr,
00839 SRM_Integer_Unsigned level
00840 );
00841
00842
00843
00858
00859 EXPORT_DLL extern void
00860 SRM_PrintLTSEParameters
00861 (
00862 const SRM_LTSE_Parameters *value_ptr,
00863 const char *name_ptr,
00864 SRM_Integer_Unsigned level
00865 );
00866
00867
00868
00883
00884 EXPORT_DLL extern void
00885 SRM_PrintLTSESurfaceCoordinate
00886 (
00887 const SRM_LTSE_Surface_Coordinate *value_ptr,
00888 const char *name_ptr,
00889 SRM_Integer_Unsigned level
00890 );
00891
00892
00893
00907
00908 EXPORT_DLL extern void
00909 SRM_PrintMParameters
00910 (
00911 const SRM_M_Parameters *value_ptr,
00912 const char *name_ptr,
00913 SRM_Integer_Unsigned level
00914 );
00915
00916
00917
00932
00933 EXPORT_DLL extern void
00934 SRM_PrintMapProjection3DCoordinate
00935 (
00936 const SRM_Map_Projection_3D_Coordinate *value_ptr,
00937 const char *name_ptr,
00938 SRM_Integer_Unsigned level
00939 );
00940
00941
00942
00957
00958 EXPORT_DLL extern void
00959 SRM_PrintMapProjectionSurfaceCoordinate
00960 (
00961 const SRM_Map_Projection_Surface_Coordinate *value_ptr,
00962 const char *name_ptr,
00963 SRM_Integer_Unsigned level
00964 );
00965
00966
00967
00978
00979
00980 EXPORT_DLL extern const char *
00981 SRM_PrintMatrix3x3
00982 (
00983 const SRM_Matrix_3x3 value
00984 );
00985
00986
00987
00998
00999
01000 EXPORT_DLL extern const char *
01001 SRM_PrintMatrix4x4
01002 (
01003 const SRM_Matrix_4x4 value
01004 );
01005
01006
01007
01022
01023 EXPORT_DLL extern void
01024 SRM_PrintObliqueMercatorParameters
01025 (
01026 const SRM_Oblique_Mercator_Parameters *value_ptr,
01027 const char *name_ptr,
01028 SRM_Integer_Unsigned level
01029 );
01030
01031
01032
01045
01046 EXPORT_DLL extern const char *
01047 SRM_PrintORMCode
01048 (
01049 SRM_ORM_Code value
01050 );
01051
01052
01053
01068
01069 EXPORT_DLL extern void
01070 SRM_PrintORMTransformation2DParameters
01071 (
01072 const SRM_ORM_Transformation_2D_Parameters *value_ptr,
01073 const char *name_ptr,
01074 SRM_Integer_Unsigned level
01075 );
01076
01077
01078
01093
01094 EXPORT_DLL extern void
01095 SRM_PrintORMTransformation3DParameters
01096 (
01097 const SRM_ORM_Transformation_3D_Parameters *value_ptr,
01098 const char *name_ptr,
01099 SRM_Integer_Unsigned level
01100 );
01101
01102
01103
01116
01117 EXPORT_DLL extern const char *
01118 SRM_PrintORMTCode
01119 (
01120 SRM_ORMT_Code value
01121 );
01122
01123
01124
01139
01140 EXPORT_DLL extern void
01141 SRM_PrintPD3DCoordinate
01142 (
01143 const SRM_PD_3D_Coordinate *value_ptr,
01144 const char *name_ptr,
01145 SRM_Integer_Unsigned level
01146 );
01147
01148
01149
01164
01165 EXPORT_DLL extern void
01166 SRM_PrintPDSurfaceCoordinate
01167 (
01168 const SRM_PD_Surface_Coordinate *value_ptr,
01169 const char *name_ptr,
01170 SRM_Integer_Unsigned level
01171 );
01172
01173
01174
01187
01188 EXPORT_DLL extern const char *
01189 SRM_PrintPolarAspect
01190 (
01191 SRM_Polar_Aspect value
01192 );
01193
01194
01195
01209
01210 EXPORT_DLL extern void
01211 SRM_PrintPSParameters
01212 (
01213 const SRM_PS_Parameters *value_ptr,
01214 const char *name_ptr,
01215 SRM_Integer_Unsigned level
01216 );
01217
01218
01219
01232
01233 EXPORT_DLL extern const char *
01234 SRM_PrintRDCode
01235 (
01236 SRM_RD_Code value
01237 );
01238
01239
01240
01253
01254 EXPORT_DLL extern const char *
01255 SRM_PrintRTCode
01256 (
01257 SRM_RT_Code value
01258 );
01259
01260
01261
01274
01275 EXPORT_DLL extern const char *
01276 SRM_PrintSpatialCoordinateCode
01277 (
01278 SRM_Spatial_Coordinate_Code value
01279 );
01280
01281
01282
01297
01298 EXPORT_DLL extern void
01299 SRM_PrintSpherical3DCoordinate
01300 (
01301 const SRM_Spherical_3D_Coordinate *value_ptr,
01302 const char *name_ptr,
01303 SRM_Integer_Unsigned level
01304 );
01305
01306
01307
01320
01321 EXPORT_DLL extern const char *
01322 SRM_PrintSRFCode
01323 (
01324 SRM_SRF_Code value
01325 );
01326
01327
01328
01343
01344 EXPORT_DLL extern void
01345 SRM_PrintSRFParametersInfo
01346 (
01347 const SRM_SRF_Parameters_Info *value_ptr,
01348 const char *name_ptr,
01349 SRM_Integer_Unsigned level
01350 );
01351
01352
01353
01366
01367 EXPORT_DLL extern const char *
01368 SRM_PrintSRFParametersInfoCode
01369 (
01370 SRM_SRF_Parameters_Info_Code value
01371 );
01372
01373
01374
01389
01390 EXPORT_DLL extern void
01391 SRM_PrintSRFReferenceSurfaceInfo
01392 (
01393 const SRM_SRF_Reference_Surface_Info *value_ptr,
01394 const char *name_ptr,
01395 SRM_Integer_Unsigned level
01396 );
01397
01398
01399
01412
01413 EXPORT_DLL extern const char *
01414 SRM_PrintSRFSCode
01415 (
01416 SRM_SRFS_Code value
01417 );
01418
01419
01420
01435
01436 EXPORT_DLL extern void
01437 SRM_PrintSRFSCodeInfo
01438 (
01439 const SRM_SRFS_Code_Info *value_ptr,
01440 const char *name_ptr,
01441 SRM_Integer_Unsigned level
01442 );
01443
01444
01445
01459
01460 EXPORT_DLL extern void
01461 SRM_PrintSRFSInfo
01462 (
01463 const SRM_SRFS_Info *value_ptr,
01464 const char *name_ptr,
01465 SRM_Integer_Unsigned level
01466 );
01467
01468
01469
01482
01483 EXPORT_DLL extern const char *
01484 SRM_PrintSRFSMAlabamaSPCSCode
01485 (
01486 SRM_SRFSM_Alabama_SPCS_Code value
01487 );
01488
01489
01490
01501
01502
01503 EXPORT_DLL extern const char *
01504 SRM_PrintSRFSMGTRSGCSCode
01505 (
01506 SRM_SRFSM_GTRS_GCS_Code value
01507 );
01508
01509
01510
01523
01524 EXPORT_DLL extern const char *
01525 SRM_PrintSRFSMJapanRectangularPlaneCSCode
01526 (
01527 SRM_SRFSM_Japan_Rectangular_Plane_CS_Code value
01528 );
01529
01530
01531
01544
01545 EXPORT_DLL extern const char *
01546 SRM_PrintSRFSMLambertNTFCode
01547 (
01548 SRM_SRFSM_Lambert_NTF_Code value
01549 );
01550
01551
01552
01565
01566 EXPORT_DLL extern const char *
01567 SRM_PrintSRFSMUPSCode
01568 (
01569 SRM_SRFSM_UPS_Code value
01570 );
01571
01572
01573
01586
01587 EXPORT_DLL extern const char *
01588 SRM_PrintSRFSMUTMCode
01589 (
01590 SRM_SRFSM_UTM_Code value
01591 );
01592
01593
01594
01607
01608 EXPORT_DLL extern const char *
01609 SRM_PrintSRFSMWisconsinSPCSCode
01610 (
01611 SRM_SRFSM_Wisconsin_SPCS_Code value
01612 );
01613
01614
01615
01628
01629 EXPORT_DLL extern const char *
01630 SRM_PrintSRFTCode
01631 (
01632 SRM_SRFT_Code value
01633 );
01634
01635
01636
01651
01652 EXPORT_DLL extern void
01653 SRM_PrintSRFTParameters
01654 (
01655 const SRM_SRFT_Parameters *value_ptr,
01656 const char *name_ptr,
01657 SRM_Integer_Unsigned level
01658 );
01659
01660
01661
01674
01675 EXPORT_DLL extern const char *
01676 SRM_PrintStatusCode
01677 (
01678 SRM_Status_Code value
01679 );
01680
01681
01682
01696
01697 EXPORT_DLL extern void
01698 SRM_PrintTMParameters
01699 (
01700 const SRM_TM_Parameters *value_ptr,
01701 const char *name_ptr,
01702 SRM_Integer_Unsigned level
01703 );
01704
01705
01706
01720
01721 EXPORT_DLL extern void
01722 SRM_PrintUnused
01723 (
01724 const SRM_Unused *value_ptr,
01725 const char *name_ptr,
01726 SRM_Integer_Unsigned level
01727 );
01728
01729
01730
01741
01742
01743 EXPORT_DLL extern const char *
01744 SRM_PrintVector3D
01745 (
01746 const SRM_Vector_3D value
01747 );
01748 #ifdef __cplusplus
01749 }
01750 #endif
01751
01752 #endif