Module math

Source
Expand description

Useful mathematical tools when working with point clooud data

Structs§

AABB
3D axis-aligned bounding box

Traits§

Alignable
Trait for aligning a numeric value to a given byte boundary
MinMax
Helper trait for computing minimum and maximum values for types. This is used in conjunction with PrimitiveType to enable min/max computations even for vector types

Functions§

expand_bits_by_3
Inserts two zero-bits before any two bits of val
reverse_bits
Reverse the bits in the given 64-bit value, turning the MSB into the LSB and vice versa