MCPcopy Create free account
hub / github.com/OSGeo/gdal / OSRGetAxis

Function OSRGetAxis

ogr/ogrspatialreference.cpp:11216–11223  ·  view source on GitHub ↗

* \brief Fetch the orientation of one axis. * * This method is the equivalent of the C++ method OGRSpatialReference::GetAxis */

Source from the content-addressed store, hash-verified

11214 * This method is the equivalent of the C++ method OGRSpatialReference::GetAxis
11215 */
11216const char *OSRGetAxis(OGRSpatialReferenceH hSRS, const char *pszTargetKey,
11217 int iAxis, OGRAxisOrientation *peOrientation)
11218
11219{
11220 VALIDATE_POINTER1(hSRS, "OSRGetAxis", nullptr);
11221
11222 return ToPointer(hSRS)->GetAxis(pszTargetKey, iAxis, peOrientation);
11223}
11224
11225/************************************************************************/
11226/* OSRAxisEnumToName() */

Callers

nothing calls this directly

Calls 2

GetAxisMethod · 0.80
ToPointerFunction · 0.70

Tested by

no test coverage detected