* \brief Fetch the orientation of one axis. * * This method is the equivalent of the C++ method OGRSpatialReference::GetAxis */
| 11214 | * This method is the equivalent of the C++ method OGRSpatialReference::GetAxis |
| 11215 | */ |
| 11216 | const 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() */ |