OEBoxBase

class OEBoxBase

OEBoxBase class represents a box aligned to the x, y and z coordinate axis.

This pure virtual class is implemented by OEBox.

The following free functions take OEBoxBase.

OEBoxXMid OEBoxXDim
OEBoxYMid OEBoxYDim
OEBoxZMid OEBoxZDim
OEInBox OEBoxTranslate
OEBoxExtend OESetupBox
OEBoxVolume OEBoxArea
OEMakeBoxMolecule  

operator=

OEBoxBase& operator=(const OEBoxBase& rhs)

Assignment operator to another OEBoxBase

Destructor

virtual ~OEBoxBase() {}

Destructor

GetXMax

virtual float GetXMax() const   = 0

Returns the maximum X value of the box

GetYMax

virtual float GetYMax() const   = 0

Returns the maximum Y value of the box

GetZMax

virtual float GetZMax() const   = 0

Returns the maximum Z value of the box

GetXMin

virtual float GetXMin() const   = 0

Returns the minumum X value of the box

GetYMin

virtual float GetYMin() const   = 0

Returns the minumum Y value of the box

GetZMin

virtual float GetZMin() const   = 0

Returns the minumum z value of the box

Setup

virtual bool Setup(float x1,
                   float y1,
                   float z1,
                   float x2,
                   float y2,
                   float z2)   = 0

Sets up the box. The max and min X values are the max and min of x1, x2 respectively. Minimum and maximum values of Y and Z are selected in an analogous fashion.