Module integer

Source
Expand description

Primitives over signed integers Integer Interval and Aabb primitives.

Note that unlike Aabbs over scalar types, Aabbs over Integers are closed (they include their boundary points). This means that there can be degenerate Aabbs containing a single point (when min = max), or line or plane in higher dimensions.

Structs§

Aabb2
2D axis-aligned bounding box
Aabb3
3D axis-aligned bounding box
Interval
1D interval

Functions§

point2_max
Coordinate-wise max
point2_max_value
Maximum representable point
point2_min
Coordinate-wise min
point2_min_value
Minimum representable point
point3_max
Coordinate-wise max
point3_max_value
Maximum representable point
point3_min
Coordinate-wise min
point3_min_value
Minimum representable point