Overture
Version 25
|
#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 |
RotatedBox::RotatedBox | ( | int | numberOfDimensions | ) |
References numberOfDimensions.
RotatedBox::RotatedBox | ( | int | numberOfDimensions, |
realArray & | x | ||
) |
References numberOfDimensions, and setPoints().
RotatedBox::~RotatedBox | ( | ) |
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 |
References fabs(), halfAxesLength, nullRange, and xa.
Referenced by Regrid::merge(), and Regrid::splitBoxRotated().
bool RotatedBox::intersects | ( | RotatedBox & | box, |
real | distance = 0. |
||
) | const |
Referenced by Regrid::merge().
int RotatedBox::numberOfPoints | ( | ) | const |
Referenced by Regrid::splitBoxRotated().
int RotatedBox::setPoints | ( | realArray & | x | ) |
Referenced by Regrid::merge(), RotatedBox(), and Regrid::splitBoxRotated().
real RotatedBox::axisVector[3][3] |
Referenced by display(), fitBox(), Regrid::regridRotated(), and Regrid::splitBoxRotated().
real RotatedBox::centre[3] |
Referenced by display(), fitBox(), Regrid::merge(), Regrid::regridRotated(), and Regrid::splitBoxRotated().
real RotatedBox::halfAxesLength[3] |
Referenced by display(), fitBox(), getEfficiency(), Regrid::regridRotated(), and Regrid::splitBoxRotated().
int RotatedBox::numberOfDimensions |
Referenced by fitBox(), Regrid::merge(), and RotatedBox().
realArray RotatedBox::xa |
Referenced by fitBox(), getEfficiency(), Regrid::merge(), and setPoints().