예제 #1
0
/******************************************************************************
	Data source function.  Returns the data source file name.
*/
Const char *CSsourceEd50ToEtrf89Entry (struct csEd50ToEtrf89Entry_* __This,Const double *ll27)
{
	Const char *cp;

	switch (__This->type) {
	case dtEd50ToEtrf89C2:
		cp = CSsourceDatumShiftCa2 (__This->pointers.c2DatumPtr,ll27);
		break;
	case dtEd50ToEtrf89NoneYet:
	default:
		cp = NULL;
		break;
	}
	return cp;
}
예제 #2
0
/******************************************************************************
	Data source function.  Returns the data source file name.
*/
Const char *CSsourceAts77ToCsrsEntry (struct csAts77ToCsrsEntry_* __This,Const double *ll77)
{
	Const char *cp;

	switch (__This->type) {
	case dtAts77ToCsrsC2:
		cp = CSsourceDatumShiftCa2 (__This->pointers.c2DatumPtr,ll77);
		break;
	case  dtAts77ToCsrsNoneYet:
	default:
		cp = NULL;
		break;
	}
	return cp;
}
예제 #3
0
/******************************************************************************
	Data source function.  Returns the data source file name.
*/
Const char *CSsourceRgf93ToNtfEntry (struct csRgf93ToNtfEntry_* __This,Const double *llRgf93)
{
	Const char *cp;

	switch (__This->type) {
	case dtRgf93ToNtfTxt:
		cp = CSsourceRgf93ToNtfTxt (__This->pointers.txtDatumPtr);
		break;
	case dtRgf93ToNtfC2:
		cp = CSsourceDatumShiftCa2 (__This->pointers.c2DatumPtr,llRgf93);
		break;
	case dtRgf93ToNtfNone:
	default:
		cp = NULL;
		break;
	}
	return cp;
}
예제 #4
0
/******************************************************************************
	Data source function.  Returns the data source file name.
*/
Const char *CSsourceNad27ToCsrsEntry (struct csNad27ToCsrsEntry_* __This,Const double *ll27)
{
	Const char *cp;

	switch (__This->type) {
	case dtNad27ToCsrsC2:
		cp = CSsourceDatumShiftCa2 (__This->pointers.c2DatumPtr,ll27);
		break;
	case dtNad27ToCsrsXfrm:
		cp = CSsourceNad27ToAts77 (__This->pointers.nad27ToCsrsViaXfrm->nad27ToAts77,ll27);
		break;
	case dtNad27ToCsrsNoneYet:
	default:
		cp = NULL;
		break;
	}
	return cp;
}