molecular
Public Member Functions | List of all members
molecular::util::Box Class Reference

Represents an arbitrarily oriented box in 3D space. More...

#include <Box.h>

Public Member Functions

 Box (const Vector3 &sizes=Vector3(1, 1, 1), const Vector3 &position=Vector3(0, 0, 0))
 
 Box (const AxisAlignedBox &aaBox)
 
AxisAlignedBox ToAxisAligned () const
 Generates AABB that contains this box. More...
 
Vector3 GetCorner (bool xMax, bool yMax, bool zMax) const
 
void Transform (const Matrix4 &trans)
 

Detailed Description

Represents an arbitrarily oriented box in 3D space.

See also
AxisAlignedBox

Constructor & Destructor Documentation

molecular::util::Box::Box ( const Vector3 sizes = Vector3(1,1,1),
const Vector3 position = Vector3(0,0,0) 
)
molecular::util::Box::Box ( const AxisAlignedBox aaBox)

Member Function Documentation

Vector3 molecular::util::Box::GetCorner ( bool  xMax,
bool  yMax,
bool  zMax 
) const
AxisAlignedBox molecular::util::Box::ToAxisAligned ( ) const

Generates AABB that contains this box.

void molecular::util::Box::Transform ( const Matrix4 trans)

The documentation for this class was generated from the following files: