PeachDrawing
PeachDrawing
DepthPlane Struct
How deep a plane is (its z over its divisor, larger being nearer the viewer) at each point of it, from the same 4x4 matrix as its Homography: the z of the plane z = 0 after the matrix, and the divisor the map shares.
public readonly struct DepthPlane
| Constructors | |
|---|---|
| DepthPlane(double, double, double, double, double, double) | How deep a plane is (its z over its divisor, larger being nearer the viewer) at each point of it, from the same 4x4 matrix as its Homography: the z of the plane z = 0 after the matrix, and the divisor the map shares. |
| Methods | |
|---|---|
| At(double, double) | The plane’s depth at its own point (u, v), or NaN where the divisor is not positive (behind the viewer). |
| FromMatrix4(Matrix4x4) | The depth model of what m (System.Numerics, row-vector convention) does to the plane z = 0. |
| Numerator(double, double, double) | The depth at the screen point whose raw inverse-homography output is (u, v, w): affine in the screen point. |