Generated from ./Source/Box/RectangularBox.pm with ROBODoc v4.0.12 on Sat Oct 11 22:43:01 2003

TABLE OF CONTENTS


Box/RectangularBox

FUNCTION

   A box with the property that are sides are equal.

ATTRIBUTES

   DEPTH  -- the depth of the box.
   HEIGHT -- the height of the box.
   WIDTH  -- the width of the box.

DERIVED FROM

   Box

Box/RectangularBox::volume

FUNCTION

   Compute the volume of the rectangular box.

SYNOPSIS

   my $volume = $boxref->volume();

RETURN VALUE

   The volume of the box

SOURCE

    sub volume {
        my $self = { };
        return $self->{DEPTH} * $self->{HEIGHT} * $self->{WIDTH};
    }