NAME

Box::Calc::Role::Container - Extends the Box::Calc::Role::Dimensional role to include outer dimensions.

VERSION

version 1.0206

METHODS

This role installs these methods:

outer_x

Returns the outside dimension of largest side of an object.

outer_y

Returns the outside dimension of the middle side of an object.

outer_z

Returns the outside dimension of the shortest side of an object.

outer_volume

Returns the result of multiplying outer_x, outer_y, and outer_z.

outer_dimensions

Returns an array reference containing outer_x, outer_y, and outer_z.

outer_extent

Returns a string of outer_x,outer_y,outer_z. Good for comparing whether two items are dimensionally similar.

max_weight

The max weight of the items including the container. Defaults to 1000.