Struct h3ron_ndarray::transform::Transform [−][src]
pub struct Transform { /* fields omitted */ }Expand description
Affine Geotransform
Ported from affine library (used by rasterio).
a, b, c, d, e and f are typed as f64 and are coefficients of an augmented affine
transformation matrix:
| x' | | a b c | | x |
| y' | = | d e f | | y |
| 1 | | 0 0 1 | | 1 |a, b, and c are the elements of the first row of the matrix. d, e, and f are the elements of the second row.
Other sources:
Implementations
create from an f64 slice in the ordering used by rasterio
create from an f64 slice in the ordering used by gdal
The determinant of the transform matrix
True if this transform is degenerate.
Which means that it will collapse a shape to an effective area of zero. Degenerate transforms cannot be inverted.
Trait Implementations
apply the transformation to a coordinate
type Output = Coordinate<f64>
type Output = Coordinate<f64>
The resulting type after applying the * operator.
apply the transformation to a rect
Auto Trait Implementations
impl RefUnwindSafe for Transform
impl UnwindSafe for Transform
Blanket Implementations
Mutably borrows from an owned value. Read more