Skip to main content

Crate raffine

Crate raffine 

Source

Structs§

Affine
Two-dimensional affine transform for 2D linear mapping.

Enums§

AffineError
Error type for affine transformation operations.

Constants§

DEFAULT_EPSILON
Default epsilon value for floating-point comparisons.
DEFAULT_EPSILON2
Default square of epsilon.
IDENTITY
The identity transform.

Functions§

dumpsw
Serialise an Affine to a world-file string, translating from pixel-corner to pixel-center coordinates.
get_epsilon
Get the current epsilon value.
get_epsilon2
Get the current epsilon-squared value.
loadsw
Parse an Affine from the contents of an Esri/ArcGIS world file string.
reset_epsilon
Reset the global epsilon to DEFAULT_EPSILON.
set_epsilon
Set the global absolute error value and rounding limit used by approximate floating-point comparisons.