Commit 09ea983e authored by Cédric Traizet's avatar Cédric Traizet
Browse files

BUG: return output altitude in RPC transform when available

parent f651f0d9
......@@ -43,6 +43,10 @@ RPCInverseTransform<TScalarType, NInputDimensions, NOutputDimensions>::Transform
OutputPointType pOut;
pOut[0] = static_cast<TScalarType>(zePoint[0]);
pOut[1] = static_cast<TScalarType>(zePoint[1]);
if (NOutputDimensions > 2)
pOut[2] = static_cast<TScalarType>(zePoint[2]);
return pOut;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment