aboutsummaryrefslogtreecommitdiff
path: root/docs/source/development/reference/functions.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/development/reference/functions.rst')
-rw-r--r--docs/source/development/reference/functions.rst24
1 files changed, 12 insertions, 12 deletions
diff --git a/docs/source/development/reference/functions.rst b/docs/source/development/reference/functions.rst
index 07c53630..3d141ae2 100644
--- a/docs/source/development/reference/functions.rst
+++ b/docs/source/development/reference/functions.rst
@@ -15,7 +15,7 @@ Threading contexts
.. c:function:: void proj_context_destroy(PJ_CONTEXT *ctx)
- Deallacote a threading-context.
+ Deallocate a threading-context.
:param PJ_CONTEXT* ctx: Threading context.
@@ -182,15 +182,15 @@ Coordinate transformation
:param double* y: Array of y-coordinates
:param double* z: Array of z-coordinates
:param double* t: Array of t-coordinates
- :param size_t sx: Step lenght, in bytes, between consecutive elements of the corresponding array
+ :param size_t sx: Step length, in bytes, between consecutive elements of the corresponding array
:param size_t nx: Number of elements in the corresponding array
- :param size_t sy: Step lenght, in bytes, between consecutive elements of the corresponding array
+ :param size_t sy: Step length, in bytes, between consecutive elements of the corresponding array
:param size_t nv: Number of elements in the corresponding array
- :param size_t sz: Step lenght, in bytes, between consecutive elements of the corresponding array
+ :param size_t sz: Step length, in bytes, between consecutive elements of the corresponding array
:param size_t nz: Number of elements in the corresponding array
- :param size_t st: Step lenght, in bytes, between consecutive elements of the corresponding array
+ :param size_t st: Step length, in bytes, between consecutive elements of the corresponding array
:param size_t nt: Number of elements in the corresponding array
- :returns: Number of transformations succesfully completed
+ :returns: Number of transformations successfully completed
@@ -201,7 +201,7 @@ Coordinate transformation
:param PJ* P:
:param `direction`: Transformation direction
:type `direction`: PJ_DIRECTION
- :param size_t n: Number of cordinates in :c:data:`coord`
+ :param size_t n: Number of coordinates in :c:data:`coord`
:returns: :c:type:`size_t` 0 if all observations are transformed without error, otherwise returns error number
@@ -427,7 +427,7 @@ Various
:returns: :c:type:`PJ_COORD`
-.. c:function:: double proj_roundtrip(PJ *P, PJ_DIRECTION direction, int n, PJ_COORD *coo)
+.. c:function:: double proj_roundtrip(PJ *P, PJ_DIRECTION direction, int n, PJ_COORD *coord)
Measure internal consistency of a given transformation. The function
performs :c:data:`n` round trip transformations starting in either
@@ -440,7 +440,7 @@ Various
:param `direction`: Starting direction of transformation
:type `direction`: PJ_DIRECTION
:param int n: Number of roundtrip transformations
- :param PJ_OBS obs: Input coordinate
+ :param PJ_COORD coord: Input coordinate
:returns: :c:type:`double` Distance between original coordinate and the \
resulting coordinate after :c:data:`n` transformation iterations.
@@ -495,7 +495,7 @@ Various
:returns: :c:type:`char*` Pointer to output buffer (same as :c:data:`s`)
-.. c:function:: PJ_COORD proj_geocentric_latitude(const PJ *P, PJ_DIRECTION direction, PJ_COORD coo)
+.. c:function:: PJ_COORD proj_geocentric_latitude(const PJ *P, PJ_DIRECTION direction, PJ_COORD coord)
Convert from geographical latitude to geocentric latitude.
@@ -503,8 +503,8 @@ Various
:type `P`: const PJ*
:param `direction`: Starting direction of transformation
:type `direction`: PJ_DIRECTION
- :param `coo`: Coordinate
- :type `coo`: PJ_COORD
+ :param `coord`: Coordinate
+ :type `coord`: PJ_COORD
:returns: :c:type:`PJ_COORD` Converted coordinate