GenGeo  1.1
SphereVol Class Reference

#include <SphereVol.h>

Inheritance diagram for SphereVol:
Collaboration diagram for SphereVol:

Public Member Functions

 SphereVol ()
 SphereVol (const Vector3 &, double)
virtual ~SphereVol ()
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

SphereIn m_sph

Friends

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

Constructor & Destructor Documentation

SphereVol::SphereVol ( )
SphereVol::SphereVol ( const Vector3 c,
double  r 
)

References m_sph.

virtual SphereVol::~SphereVol ( )
inlinevirtual

Member Function Documentation

Vector3 SphereVol::getAPoint ( int  ) const
virtual

Implements AVolume.

Reimplemented in ClippedSphereVol.

References Sphere::Center(), m_sph, and Sphere::Radius().

Here is the call graph for this function:

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

Implements AVolume.

References Sphere::Center(), m_sph, and Sphere::Radius().

Here is the call graph for this function:

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

Implements AVolume3D.

Reimplemented in ClippedSphereVol, and SphereVolWithJointSet.

References SphereIn::getDist(), and m_sph.

Here is the call graph for this function:

bool SphereVol::isFullyOutside ( const Sphere S)
virtual

Implements AVolume3D.

References Sphere::Center(), m_sph, and Sphere::Radius().

Here is the call graph for this function:

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

Implements AVolume.

Reimplemented in ClippedSphereVol.

References SphereIn::getDirDist(), and m_sph.

Here is the call graph for this function:

bool SphereVol::isIn ( const Sphere S)
virtual

Implements AVolume.

Reimplemented in ClippedSphereVol, and SphereVolWithJointSet.

References Sphere::Center(), SphereIn::getDirDist(), m_sph, and Sphere::Radius().

Here is the call graph for this function:

Friends And Related Function Documentation

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

Member Data Documentation


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