packages/MC/mc/Box_Shape.cc
//---------------------------------------------------------------------------//
/*!
 * \brief Get the bounding box.
 */
\brief Get the bounding box.
\ brief Get the bounding box .
void Box_Shape::get_bbox(Space_Vector& low_corner,
                         Space_Vector& high_corner) const
{
    low_corner[0] = d_lox;
    low_corner[1] = d_loy;
    low_corner[2] = d_loz;
    high_corner[0] = d_lox + d_Dx;
    high_corner[1] = d_loy + d_Dy;
    high_corner[2] = d_loz + d_Dz;
}
void Box_Shape :: get_bbox ( Space_Vector & low_corner , Space_Vector & high_corner ) const { low_corner [ 0 ] = d_lox ; low_corner [ 1 ] = d_loy ; low_corner [ 2 ] = d_loz ; high_corner [ 0 ] = d_lox + d_Dx ; high_corner [ 1 ] = d_loy + d_Dy ; high_corner [ 2 ] = d_loz + d_Dz ; }
\brief Get the bounding box.
\ brief Get the bounding box .