Struct bismuth::cube::Cursor [] [src]

pub struct Cursor { /* fields omitted */ }

A contiguous selection of cubes in a tree.

A Cursor is essentially a bounding box with an associated width (granularity) used to isolate cubes in a tree.

Methods

impl Cursor
[src]

Gets the origin of the Cursor.

Gets the width associated with the Cursor, which is the width of the cubes that it selects.

Gets the span of the Cursor from its origin. This is based on the width of the Cursor, and each component essentially selects a number of cubes in the positive direction along that axis. A span of zero means that only one cube is selected by the Cursor.

Gets the extent of the Cursor from its origin.

Gets the AABB of the Cursor.