public class Transform.PointInTerrainObservation extends java.lang.Object implements Transform.Observation
Modifier and Type | Field and Description |
---|---|
(package private) DTMGrid |
grid
A surface model describing the terrain.
|
(package private) float[] |
plane
A plane equation in world coordinates for the closest facet of the terrain surface to this point.
|
(package private) float |
sd
a priori standard deviation of distance between surface and point
|
(package private) float |
v
a posteriori estimate of residual (distance between surface and point)
|
(package private) float |
v_sd
a posteriori estimate of standard deviation of residual
|
(package private) float |
x_t
x coordinate for tango position
|
(package private) float |
y_t
y coordinate for tango position
|
(package private) float |
z_t
z coordinate for tango position
|
Constructor and Description |
---|
PointInTerrainObservation() |
Modifier and Type | Method and Description |
---|---|
void |
addToNormalEquations(Transform.Parameters p,
float weight)
Add data for this observation to the normal equation system
|
float |
computeResiduals(Transform.Parameters p)
Compute maximum normalized residual for this observation
|
int |
numConditions()
Return number of condition equations for this observation
|
float x_t
float y_t
float z_t
float sd
float v
float v_sd
float[] plane
x, y, z
in the plane should satisfy the equation
x*plane[0] + y*plane[1] + z*plane[2] == plane[3]
and the 3 dimensional vector
[plane[0], plane[1], plane[2]]
should be normalized to unityDTMGrid grid
DTMGrid.getSurfacePlane(float, float, float)
.public void addToNormalEquations(Transform.Parameters p, float weight)
Transform.Observation
addToNormalEquations
in interface Transform.Observation
p
- The current model parametersweight
- The current observation weightpublic float computeResiduals(Transform.Parameters p)
Transform.Observation
computeResiduals
in interface Transform.Observation
p
- The current model parameterspublic int numConditions()
Transform.Observation
numConditions
in interface Transform.Observation