|
NTv2 File Processing Routines
|
Data Fields | |
| char | path [NTV2_MAX_PATH_LEN] |
| int | file_type |
| int | num_recs |
| int | num_parents |
| NTV2_BOOL | keep_orig |
| NTV2_BOOL | pads_present |
| NTV2_BOOL | swap_data |
| int | fixed |
| double | hdr_conv |
| double | dat_conv |
| char | gs_type [NTV2_NAME_LEN+4] |
| double | lat_min |
| double | lat_max |
| double | lon_min |
| double | lon_max |
| NTV2_REC * | recs |
| NTV2_REC * | first_parent |
| FILE * | fp |
| void * | mutex |
| NTV2_FILE_OV * | overview |
| NTV2_FILE_SF * | subfiles |
NTv2 top-level struct
This struct defines the entire NTv2 file as it is stored in memory.
| double NTV2_HDR::dat_conv |
Data conversion factor
| int NTV2_HDR::file_type |
File type (bin or asc)
| NTV2_REC* NTV2_HDR::first_parent |
Pointer to first parent
| int NTV2_HDR::fixed |
Mask of NTV2_FIX_* codes
| FILE* NTV2_HDR::fp |
Data stream
| char NTV2_HDR::gs_type[NTV2_NAME_LEN+4] |
Conversion type (e.g. "DEGREES")
| double NTV2_HDR::hdr_conv |
Header conversion factor
| NTV2_BOOL NTV2_HDR::keep_orig |
TRUE if orig data is kept
| double NTV2_HDR::lat_max |
Latitude max (degrees)
| double NTV2_HDR::lat_min |
Latitude min (degrees)
| double NTV2_HDR::lon_max |
Longitude max (degrees)
| double NTV2_HDR::lon_min |
Longitude min (degrees)
| void* NTV2_HDR::mutex |
Ptr to OS-specific mutex
| int NTV2_HDR::num_parents |
Number of parent records
| int NTV2_HDR::num_recs |
Number of subfile records
| NTV2_FILE_OV* NTV2_HDR::overview |
Overview record
| NTV2_BOOL NTV2_HDR::pads_present |
TRUE if pads are in file
| char NTV2_HDR::path[NTV2_MAX_PATH_LEN] |
Pathname of file
| NTV2_REC* NTV2_HDR::recs |
Array of ntv2 records
| NTV2_FILE_SF* NTV2_HDR::subfiles |
Array of sub-file records
| NTV2_BOOL NTV2_HDR::swap_data |
TRUE if must swap data
1.8.2