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

Function proj_angular_input

src/coordinates.cpp:53–62  ·  view source on GitHub ↗

/

Source from the content-addressed store, hash-verified

51
52/*****************************************************************************/
53int proj_angular_input(PJ *P, enum PJ_DIRECTION dir) {
54 /******************************************************************************
55 Returns 1 if the operator P expects angular input coordinates when
56 operating in direction dir, 0 otherwise.
57 dir: {PJ_FWD, PJ_INV}
58 ******************************************************************************/
59 if (PJ_FWD == dir)
60 return pj_left(P) == PJ_IO_UNITS_RADIANS;
61 return pj_right(P) == PJ_IO_UNITS_RADIANS;
62}
63
64/*****************************************************************************/
65int proj_angular_output(PJ *P, enum PJ_DIRECTION dir) {

Callers 9

TESTFunction · 0.85
TESTFunction · 0.85
proj_angular_outputFunction · 0.85
proj_roundtripFunction · 0.85
mainFunction · 0.85
processFunction · 0.85
mainFunction · 0.85
roundtripFunction · 0.85
expectFunction · 0.85

Calls 2

pj_leftFunction · 0.85
pj_rightFunction · 0.85

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68