Struct ami::BCube[][src]

pub struct BCube { /* fields omitted */ }

Single-precision bounding cube

Methods

impl BCube
[src]

Create an new empty BCube.

Create an new BCube at position p.

Extend the BCube to accommodate for BBox

Check if BCube contains point p.

Get two opposite points that are the bounds of the BCube.

Turn into a bbox.

Get all 6 points or the BCube.

Get a positive and negative pair of opposite points that are the bounds of the BCube, based around a normal.

Trait Implementations

impl Into<BCube> for BBox
[src]

Performs the conversion.

impl Clone for BCube
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for BCube
[src]

impl PartialEq for BCube
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for BCube
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for BCube

impl Sync for BCube