[][src]Module building_blocks_core::extent

Structs

ExtentN

An N-dimensional extent. This is mathematically the Cartesian product of a half-closed interval [a, b) in each dimension. You can also just think of it as an axis-aligned box with some shape and a minimum point. When doing queries against lattice maps, this is the primary structure used to determine the bounds of your query.

Traits

Extent

A trait for methods that all ExtentN<N> should have, but only those which are implemented specially for each ExtentN<N>. The goal is only to generalize over the number of dimensions.

IntegerExtent

The methods that all ExtentN<N> should have when the scalar type is an integer, but only those which are implemented specially for each ExtentN<N>. This enables us to assume that any finite extent contains only a finite number of points.

Functions

bounding_extent

Returns the smallest extent containing all of the given points.