MCPcopy Create free account
hub / github.com/OSGeo/PROJ / direction

Function direction

src/apps/gie.cpp:595–615  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

593}
594
595static int direction(const char *args) {
596 const char *endp = args;
597 while (isspace(*endp))
598 endp++;
599 switch (*endp) {
600 case 'F':
601 case 'f':
602 T.dir = PJ_FWD;
603 break;
604 case 'I':
605 case 'i':
606 case 'R':
607 case 'r':
608 T.dir = PJ_INV;
609 break;
610 default:
611 return 1;
612 }
613
614 return 0;
615}
616
617static void finish_previous_operation(const char *args) {
618 if (T.verbosity > 1 && T.op_id > 1 && T.op_ok + T.op_ko)

Callers 7

operationFunction · 0.85
crs_to_crs_operationFunction · 0.85
dispatchFunction · 0.85
_exportToWKTMethod · 0.85
_exportToJSONMethod · 0.85
alterUnitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected