GenGeo  1.1
SphereSectionVol Class Reference

#include <SphereSectionVol.h>

Inheritance diagram for SphereSectionVol:
Collaboration diagram for SphereSectionVol:

Public Member Functions

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

Friends

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

Constructor & Destructor Documentation

SphereSectionVol::SphereSectionVol ( )
SphereSectionVol::SphereSectionVol ( const Vector3 c,
const double  r,
const double  h,
const Vector3 n 
)
virtual SphereSectionVol::~SphereSectionVol ( )
inlinevirtual

Member Function Documentation

Vector3 SphereSectionVol::getAPoint ( int  ) const
virtual

Implements AVolume.

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

Here is the call graph for this function:

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

Implements AVolume3D.

References SphereIn::getDist(), and m_sph.

Here is the call graph for this function:

bool SphereSectionVol::isFullyOutside ( const Sphere S)
virtual

Implements AVolume3D.

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

Implements AVolume.

References Sphere::Center(), dot(), m_section_dist, m_section_normal, m_sph, Vector3::norm(), and Sphere::Radius().

Referenced by isIn().

Here is the call graph for this function:

bool SphereSectionVol::isIn ( const Sphere S)
virtual

Implements AVolume.

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

Here is the call graph for this function:

Friends And Related Function Documentation

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

Member Data Documentation

double SphereSectionVol::m_section_dist
protected

Referenced by isIn(), and SphereSectionVol().

Vector3 SphereSectionVol::m_section_normal
protected

Referenced by isIn(), and SphereSectionVol().

SphereIn SphereSectionVol::m_sph
protected

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