[][src]Module hilbert::point_list

The point_list module can convert point-like data in forms defined by the caller into Point structs. It defines the functions make_points_i32 and make_points_f64. They can detect the range of values in the input data and the number of bits required to code those values without losing precision, then translate and scale those values in the process of creating Points. Points created in this way are guaranteed to be acceptable to the Hilbert Curve transformation.

Functions

make_points_f64

Take unnormalized f64 data, normalize it, and create Point objects (which hold unsigned integer values).

make_points_i32

Take unnormalized i32 data, normalize it, and create Point objects (which hold unsigned values).