Skip to content

Commit

Permalink
Merge pull request #4394 from rouault/proj_trans_bounds_3D
Browse files Browse the repository at this point in the history
Add proj_trans_bounds_3D()
  • Loading branch information
rouault authored Feb 6, 2025
2 parents 8326439 + 99a8b73 commit 77bb0cc
Show file tree
Hide file tree
Showing 6 changed files with 539 additions and 8 deletions.
3 changes: 3 additions & 0 deletions docs/source/development/reference/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,9 @@ Coordinate transformation
.. doxygenfunction:: proj_trans_bounds
:project: doxygen_api
.. doxygenfunction:: proj_trans_bounds_3D
:project: doxygen_api
Error reporting
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Expand Down
8 changes: 5 additions & 3 deletions docs/source/spelling_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Acknowledgements
adams
aea
aeqd
airocean
Airocean
affine
Affine
Agri
airocean
Airocean
aitoff
Aitoff
Albers
Expand Down Expand Up @@ -106,8 +106,8 @@ Boucher
boundcrs
boundCRS
Bregler
Buckminster
brussels
Buckminster
cadastral
cadastre
Cadastre
Expand Down Expand Up @@ -1037,5 +1037,7 @@ yyyymmdd
Zajaç
zenodo
zlib
zmax
zmin
zur
Zusätze
1 change: 1 addition & 0 deletions scripts/reference_exported_symbols.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1120,6 +1120,7 @@ proj_torad
proj_trans
proj_trans_array
proj_trans_bounds
proj_trans_bounds_3D
proj_trans_generic
proj_trans_get_last_used_operation
proj_unit_list_destroy
Expand Down
10 changes: 10 additions & 0 deletions src/proj.h
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,16 @@ int PROJ_DLL proj_trans_bounds(PJ_CONTEXT *context, PJ *P,
double xmax, double ymax, double *out_xmin,
double *out_ymin, double *out_xmax,
double *out_ymax, int densify_pts);

int PROJ_DLL proj_trans_bounds_3D(PJ_CONTEXT *context, PJ *P,
PJ_DIRECTION direction, const double xmin,
const double ymin, const double zmin,
const double xmax, const double ymax,
const double zmax, double *out_xmin,
double *out_ymin, double *out_zmin,
double *out_xmax, double *out_ymax,
double *out_zmax, const int densify_pts);

/*! @cond Doxygen_Suppress */

/* Initializers */
Expand Down
Loading

0 comments on commit 77bb0cc

Please sign in to comment.