Overture  Version 25
Public Member Functions | Public Attributes | List of all members
RotatedBox Class Reference

#include <RotatedBox.h>

Public Member Functions

 RotatedBox (int numberOfDimensions)
 
 RotatedBox (int numberOfDimensions, realArray &x)
 
 ~RotatedBox ()
 
int display () const
 
int fitBox ()
 
real getEfficiency () const
 
int numberOfPoints () const
 
bool intersects (RotatedBox &box, real distance=0.) const
 
int setPoints (realArray &x)
 

Public Attributes

real centre [3]
 
real axisVector [3][3]
 
real halfAxesLength [3]
 
int numberOfDimensions
 
realArray xa
 

Constructor & Destructor Documentation

RotatedBox::RotatedBox ( int  numberOfDimensions)

References numberOfDimensions.

RotatedBox::RotatedBox ( int  numberOfDimensions,
realArray x 
)

References numberOfDimensions, and setPoints().

RotatedBox::~RotatedBox ( )

Member Function Documentation

int RotatedBox::display ( ) const

References axisVector, centre, and halfAxesLength.

Referenced by Regrid::splitBoxRotated().

int RotatedBox::fitBox ( )

References axisVector, c, centre, halfAxesLength, max(), min(), numberOfDimensions, q, R, SQR, SQRT, and xa.

Referenced by setPoints().

real RotatedBox::getEfficiency ( ) const
bool RotatedBox::intersects ( RotatedBox box,
real  distance = 0. 
) const

References SQR, and SQRT.

Referenced by Regrid::merge().

int RotatedBox::numberOfPoints ( ) const

Referenced by Regrid::splitBoxRotated().

int RotatedBox::setPoints ( realArray x)

References fitBox(), and xa.

Referenced by Regrid::merge(), RotatedBox(), and Regrid::splitBoxRotated().

Member Data Documentation

real RotatedBox::axisVector[3][3]
real RotatedBox::centre[3]
real RotatedBox::halfAxesLength[3]
int RotatedBox::numberOfDimensions

Referenced by fitBox(), Regrid::merge(), and RotatedBox().

realArray RotatedBox::xa

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