GenGeo  1.1
UnionVol Class Reference

#include <UnionVol.h>

Inheritance diagram for UnionVol:
Collaboration diagram for UnionVol:

Public Member Functions

 UnionVol ()
 UnionVol (AVolume3D &, AVolume3D &)
virtual ~UnionVol ()
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 UnionVol &)

Constructor & Destructor Documentation

UnionVol::UnionVol ( )

References m_vol1, and m_vol2.

UnionVol::UnionVol ( AVolume3D v1,
AVolume3D v2 
)

References m_vol1, and m_vol2.

virtual UnionVol::~UnionVol ( )
inlinevirtual

Member Function Documentation

Vector3 UnionVol::getAPoint ( int  ivol) const
virtual

Implements AVolume.

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

Here is the call graph for this function:

pair< Vector3, Vector3 > UnionVol::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 * > UnionVol::getClosestObjects ( const Vector3 P,
int  ival 
) const
virtual

Implements AVolume3D.

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

Here is the call graph for this function:

virtual int UnionVol::getNumberSubVolumes ( ) const
inlinevirtual

Reimplemented from AVolume.

bool UnionVol::isFullyOutside ( const Sphere S)
virtual

Check if sphere is fully outside the volume. Tests if the sphere is outside both subvolumes.

Parameters
Sthe sphere

Implements AVolume3D.

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

Here is the call graph for this function:

bool UnionVol::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 UnionVol::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 UnionVol T 
)
friend

Member Data Documentation

AVolume3D* UnionVol::m_vol1
protected
AVolume3D* UnionVol::m_vol2
protected

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