GenGeo  1.1
EllipsoidVol Class Reference

#include <EllipsoidVol.h>

Inheritance diagram for EllipsoidVol:
Collaboration diagram for EllipsoidVol:

Public Member Functions

 EllipsoidVol ()
 EllipsoidVol (const Vector3 &, double, double, double)
virtual ~EllipsoidVol ()
virtual pair< Vector3, Vector3getBoundingBox ()
virtual Vector3 getAPoint (int) const
virtual const map< double,
const AGeometricObject * > 
getClosestObjects (const Vector3 &, int) const
virtual bool isIn (const Vector3 &) const
virtual bool isIn (const Sphere &)
virtual bool isFullyOutside (const Sphere &)
- Public Member Functions inherited from AVolume3D
virtual ~AVolume3D ()
- Public Member Functions inherited from AVolume
virtual ~AVolume ()
virtual int getNumberSubVolumes () const

Protected Attributes

double m_lx
double m_ly
double m_lz
Vector3 m_posn

Friends

ostream & operator<< (ostream &, const EllipsoidVol &)

Constructor & Destructor Documentation

EllipsoidVol::EllipsoidVol ( )
EllipsoidVol::EllipsoidVol ( const Vector3 c,
double  lx,
double  ly,
double  lz 
)

References m_lx, m_ly, m_lz, and m_posn.

virtual EllipsoidVol::~EllipsoidVol ( )
inlinevirtual

Member Function Documentation

Vector3 EllipsoidVol::getAPoint ( int  ) const
virtual

Implements AVolume.

References m_lx, m_ly, m_lz, and m_posn.

pair< Vector3, Vector3 > EllipsoidVol::getBoundingBox ( )
virtual

Implements AVolume.

References m_lx, m_ly, m_lz, and m_posn.

const map< double, const AGeometricObject * > EllipsoidVol::getClosestObjects ( const Vector3 P,
int   
) const
virtual

Implements AVolume3D.

bool EllipsoidVol::isFullyOutside ( const Sphere )
virtual

Implements AVolume3D.

bool EllipsoidVol::isIn ( const Vector3 P) const
virtual

Implements AVolume.

References m_lx, m_ly, m_lz, m_posn, Vector3::x(), Vector3::y(), and Vector3::z().

Referenced by isIn().

Here is the call graph for this function:

bool EllipsoidVol::isIn ( const Sphere S)
virtual
Warning
WRONG

Implements AVolume.

References Sphere::Center(), and isIn().

Here is the call graph for this function:

Friends And Related Function Documentation

ostream& operator<< ( ostream &  ost,
const EllipsoidVol T 
)
friend

Member Data Documentation

double EllipsoidVol::m_lx
protected
double EllipsoidVol::m_ly
protected
double EllipsoidVol::m_lz
protected
Vector3 EllipsoidVol::m_posn
protected

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