diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2020-11-01 11:25:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-01 11:25:03 +0100 |
| commit | 12274943fb88480686db0fc1cf3b13bde2d87845 (patch) | |
| tree | 8d6dae60caa4dd29acd915a219ed0768bad9a686 /src | |
| parent | 42634f5d7130783ace7c9fcffc9deb701090cba2 (diff) | |
| parent | c08da1a6604f9cb422bb71e34b6006ede6146642 (diff) | |
| download | PROJ-12274943fb88480686db0fc1cf3b13bde2d87845.tar.gz PROJ-12274943fb88480686db0fc1cf3b13bde2d87845.zip | |
Merge pull request #2400 from rouault/proj_create_ellipsoidal_2D_cs_doc_improvement
proj_create_ellipsoidal_2D/3D_cs(): doc improvement
Diffstat (limited to 'src')
| -rw-r--r-- | src/iso19111/c_api.cpp | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/iso19111/c_api.cpp b/src/iso19111/c_api.cpp index 7582f37f..f4f6e6a2 100644 --- a/src/iso19111/c_api.cpp +++ b/src/iso19111/c_api.cpp @@ -4438,8 +4438,9 @@ PJ *proj_create_cartesian_2D_cs(PJ_CONTEXT *ctx, PJ_CARTESIAN_CS_2D_TYPE type, * * @param ctx PROJ context, or NULL for default context * @param type Coordinate system type. - * @param unit_name Unit name. - * @param unit_conv_factor Unit conversion factor to SI. + * @param unit_name Name of the angular units. Or NULL for Degree + * @param unit_conv_factor Conversion factor from the angular unit to radian. + * Or 0 for Degree if unit_name == NULL. Otherwise should be not NULL * * @return Object that must be unreferenced with * proj_destroy(), or NULL in case of error. @@ -4478,13 +4479,17 @@ PJ *proj_create_ellipsoidal_2D_cs(PJ_CONTEXT *ctx, * * @param ctx PROJ context, or NULL for default context * @param type Coordinate system type. - * @param horizontal_angular_unit_name Horizontal angular unit name. - * @param horizontal_angular_unit_conv_factor Horizontal angular unit conversion - * factor to SI. - * @param vertical_linear_unit_name Vertical linear unit name. + * @param horizontal_angular_unit_name Name of the angular units. Or NULL for + * Degree. + * @param horizontal_angular_unit_conv_factor Conversion factor from the angular + * unit to radian. Or 0 for Degree if horizontal_angular_unit_name == NULL. + * Otherwise should be not NULL + * @param vertical_linear_unit_name Vertical linear unit name. Or NULL for + * Metre. * @param vertical_linear_unit_conv_factor Vertical linear unit conversion - * factor to SI. - * + * factor to metre. Or 0 for Metre if vertical_linear_unit_name == NULL. + * Otherwise should be not NULL + * @return Object that must be unreferenced with * proj_destroy(), or NULL in case of error. * @since 6.3 |
