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
f651f0d9
Commit
f651f0d9
authored
Jan 13, 2021
by
Cédric Traizet
Browse files
BUG: use input altitudes in RPC transforms when available
parent
21422090
Changes
1
Hide whitespace changes
Inline
Side-by-side
Modules/Core/Transform/include/otbRPCForwardTransform.hxx
View file @
f651f0d9
...
...
@@ -33,7 +33,10 @@ RPCForwardTransform<TScalarType, NInputDimensions, NOutputDimensions>::Transform
GDALRPCTransformer
::
PointType
zePoint
;
zePoint
[
0
]
=
static_cast
<
double
>
(
point
[
0
]);
zePoint
[
1
]
=
static_cast
<
double
>
(
point
[
1
]);
zePoint
[
2
]
=
0.0
;
if
(
NInputDimensions
>
2
)
zePoint
[
2
]
=
static_cast
<
double
>
(
point
[
2
]);
else
zePoint
[
2
]
=
0.0
;
zePoint
=
this
->
m_Transformer
->
ForwardTransform
(
zePoint
);
...
...
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