diff options
| author | Thomas Knudsen <busstoptaktik@users.noreply.github.com> | 2017-11-25 06:23:42 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-25 06:23:42 +0100 |
| commit | a2a546a74acf16cf0721ce3572534f06c2822b11 (patch) | |
| tree | c8fe3e4433a687f1a5e115fff10faf1d42b76338 /src/PJ_hgridshift.c | |
| parent | bea0c8b0c015ef0a5c136b904d63ad7f4a4427bf (diff) | |
| download | PROJ-a2a546a74acf16cf0721ce3572534f06c2822b11.tar.gz PROJ-a2a546a74acf16cf0721ce3572534f06c2822b11.zip | |
Improve API (#683)
Increase the focus on PJ_COORD as primary datatype: Eliminate use of PJ_TRIPLET etc.
Trim proj.h by removing material that has become unnecessary.
Improve constness
Make proj_factors work in proj.h space, by providing a trimmed down PJ_FACTORS (which even has more meaningful field names)
Diffstat (limited to 'src/PJ_hgridshift.c')
| -rw-r--r-- | src/PJ_hgridshift.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PJ_hgridshift.c b/src/PJ_hgridshift.c index 92275e51..5c2b944d 100644 --- a/src/PJ_hgridshift.c +++ b/src/PJ_hgridshift.c @@ -5,7 +5,7 @@ PROJ_HEAD(hgridshift, "Horizontal grid shift"); static XYZ forward_3d(LPZ lpz, PJ *P) { - PJ_TRIPLET point; + PJ_COORD point = {{0,0,0,0}}; point.lpz = lpz; if (P->gridlist != NULL) { @@ -19,7 +19,7 @@ static XYZ forward_3d(LPZ lpz, PJ *P) { static LPZ reverse_3d(XYZ xyz, PJ *P) { - PJ_TRIPLET point; + PJ_COORD point = {{0,0,0,0}}; point.xyz = xyz; if (P->gridlist != NULL) { |
