GenGeo  1.1
IntersectionVol Class Reference

#include <IntersectionVol.h>

Inheritance diagram for IntersectionVol:
Collaboration diagram for IntersectionVol:

Public Member Functions

 IntersectionVol ()
 IntersectionVol (AVolume3D &, AVolume3D &)
virtual ~IntersectionVol ()
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 bool isFullyOutside (const Sphere &)
virtual int getNumberSubVolumes () const
- 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 IntersectionVol &)

Constructor & Destructor Documentation

IntersectionVol::IntersectionVol ( )

References m_vol1, and m_vol2.

IntersectionVol::IntersectionVol ( AVolume3D v1,
AVolume3D v2 
)

References m_vol1, and m_vol2.

virtual IntersectionVol::~IntersectionVol ( )
inlinevirtual

Member Function Documentation

Vector3 IntersectionVol::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 > IntersectionVol::getBoundingBox ( )
virtual

Implements AVolume.

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

Here is the call graph for this function:

const map< double, const AGeometricObject * > IntersectionVol::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 IntersectionVol::getNumberSubVolumes ( ) const
inlinevirtual

Reimplemented from AVolume.

bool IntersectionVol::isFullyOutside ( const Sphere S)
virtual

Check if sphere is fully outside the volume. Tests if the sphere is outside one of the subvolumes.

Parameters
Sthe sphere

Implements AVolume3D.

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

Here is the call graph for this function:

bool IntersectionVol::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 IntersectionVol::isIn ( const Sphere S)
virtual

Implements AVolume.

References 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 IntersectionVol T 
)
friend

Member Data Documentation

AVolume3D* IntersectionVol::m_vol1
protected
AVolume3D* IntersectionVol::m_vol2
protected

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