Coordinate transformations (unfinished).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(inout) | :: | cs(:) |
Common control points in source system. |
||
real(kind=r8), | intent(inout) | :: | ct(:) |
Common control points in target system. |
||
real(kind=r8), | intent(inout) | :: | observs(:) |
Observations. |
||
real(kind=r8), | intent(out), | allocatable | :: | trans(:) |
Transformed observations. |
|
real(kind=r8), | intent(out), | optional, | allocatable | :: | params(:) |
Transformation parameters. |
real(kind=r8), | intent(out), | optional, | allocatable | :: | residuals(:) |
Residuals. |
real(kind=r8), | intent(out), | optional | :: | variance |
Reference variance of adjustment. |
|
real(kind=r8), | intent(out), | optional | :: | rotation |
Rotation angle. |
|
real(kind=r8), | intent(out), | optional | :: | scale_factor |
Scale factor. |
Calculates coordinates (x, y, z) out of horizontal direction, vertical angle, and slope distance to a target point using a 3-dimensional polar transformation.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in) | :: | vx |
View point x. |
||
real(kind=r8), | intent(in) | :: | vy |
View point y. |
||
real(kind=r8), | intent(in) | :: | vz |
View point z. |
||
real(kind=r8), | intent(in) | :: | tx |
Target x. |
||
real(kind=r8), | intent(in) | :: | ty |
Target y. |
||
real(kind=r8), | intent(in) | :: | hz |
Horizontal direction between view point and target point. |
||
real(kind=r8), | intent(in) | :: | v |
Vertical angle between view point and target point. |
||
real(kind=r8), | intent(in) | :: | dist_hz |
Horizontal distance between view point and target point. |
||
real(kind=r8), | intent(out) | :: | x |
Transformed x. |
||
real(kind=r8), | intent(out) | :: | y |
Transformed y. |
||
real(kind=r8), | intent(out) | :: | z |
Transformed z. |
||
real(kind=r8), | intent(in), | optional | :: | azimuth |
Global azimuth. |