GenGeo  1.1
DifferenceVol Class Reference

#include <DifferenceVol.h>

Inheritance diagram for DifferenceVol:
Collaboration diagram for DifferenceVol:

Public Member Functions

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

Protected Attributes

AVolume3Dm_vol1
AVolume3Dm_vol2

Friends

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

Constructor & Destructor Documentation

DifferenceVol::DifferenceVol ( )

References m_vol1, and m_vol2.

DifferenceVol::DifferenceVol ( AVolume3D v1,
AVolume3D v2 
)

References m_vol1, and m_vol2.

virtual DifferenceVol::~DifferenceVol ( )
inlinevirtual

Member Function Documentation

Vector3 DifferenceVol::getAPoint ( int  ivol) const
virtual

Implements AVolume.

References AVolume::getAPoint(), AVolume::isIn(), m_vol1, and m_vol2.

Here is the call graph for this function:

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

Implements AVolume.

References AVolume::getBoundingBox(), and m_vol1.

Here is the call graph for this function:

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

Implements AVolume3D.

References AVolume3D::getClosestObjects(), m_vol1, and m_vol2.

Here is the call graph for this function:

virtual int DifferenceVol::getNumberSubVolumes ( ) const
inlinevirtual

Reimplemented from AVolume.

bool DifferenceVol::isFullyOutside ( const Sphere S)
virtual

Check if a sphere is fully outside the volume. Tests if the sphere is fully outside volume1 or fully inside volume2.

Parameters
Sthe sphere

Implements AVolume3D.

References AVolume3D::isFullyOutside(), AVolume::isIn(), m_vol1, and m_vol2.

Here is the call graph for this function:

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

Implements AVolume.

References AVolume::isIn(), m_vol1, and m_vol2.

Here is the call graph for this function:

bool DifferenceVol::isIn ( const Sphere S)
virtual

Implements AVolume.

References AVolume3D::isFullyOutside(), AVolume::isIn(), m_vol1, and m_vol2.

Here is the call graph for this function:

Friends And Related Function Documentation

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

Member Data Documentation

AVolume3D* DifferenceVol::m_vol1
protected
AVolume3D* DifferenceVol::m_vol2
protected

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