Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
09ea983e
Commit
09ea983e
authored
Jan 13, 2021
by
Cédric Traizet
Browse files
BUG: return output altitude in RPC transform when available
parent
f651f0d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/Core/Transform/include/otbRPCInverseTransform.hxx
View file @
09ea983e
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment