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

Function proj_coord

src/coordinates.cpp:39–46  ·  view source on GitHub ↗

Initialize PJ_COORD struct */

Source from the content-addressed store, hash-verified

37
38/* Initialize PJ_COORD struct */
39PJ_COORD proj_coord(double x, double y, double z, double t) {
40 PJ_COORD res;
41 res.v[0] = x;
42 res.v[1] = y;
43 res.v[2] = z;
44 res.v[3] = t;
45 return res;
46}
47
48PJ_DIRECTION pj_opposite_direction(PJ_DIRECTION dir) {
49 return static_cast<PJ_DIRECTION>(-dir);

Callers 10

test_transformFunction · 0.85
test_transformFunction · 0.85
TESTFunction · 0.85
test_timeFunction · 0.85
test_dateFunction · 0.85
proj_geod_directFunction · 0.85
parse_input_lineFunction · 0.85
parse_coordFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by 5

test_transformFunction · 0.68
test_transformFunction · 0.68
TESTFunction · 0.68
test_timeFunction · 0.68
test_dateFunction · 0.68