GenGeo  1.1
ClippedSphereVol Class Reference

#include <ClippedSphereVol.h>

Inheritance diagram for ClippedSphereVol:
Collaboration diagram for ClippedSphereVol:

Public Member Functions

 ClippedSphereVol ()
 ClippedSphereVol (const Vector3 &, double)
virtual ~ClippedSphereVol ()
void addPlane (const Plane &, bool)
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 &)
- Public Member Functions inherited from SphereVol
 SphereVol ()
 SphereVol (const Vector3 &, double)
virtual ~SphereVol ()
virtual pair< Vector3, Vector3getBoundingBox ()
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

vector< pair< Plane, bool > > m_planes
- Protected Attributes inherited from SphereVol
SphereIn m_sph

Constructor & Destructor Documentation

ClippedSphereVol::ClippedSphereVol ( )
ClippedSphereVol::ClippedSphereVol ( const Vector3 center,
double  radius 
)

constructor taking center and radius of the Sphere as arguments

Parameters
centerthe center of the sphere
radiusthe radius of the sphere
virtual ClippedSphereVol::~ClippedSphereVol ( )
inlinevirtual

Member Function Documentation

void ClippedSphereVol::addPlane ( const Plane p,
bool  fit 
)

References m_planes.

Referenced by exportClippedSphereVol().

Vector3 ClippedSphereVol::getAPoint ( int  n) const
virtual

Reimplemented from SphereVol.

References isIn().

Here is the call graph for this function:

const map< double, const AGeometricObject * > ClippedSphereVol::getClosestObjects ( const Vector3 pos,
int  nr 
) const
virtual

Reimplemented from SphereVol.

References m_planes.

bool ClippedSphereVol::isIn ( const Vector3 pos) const
virtual

Reimplemented from SphereVol.

References m_planes.

Referenced by getAPoint(), and isIn().

bool ClippedSphereVol::isIn ( const Sphere S)
virtual

Reimplemented from SphereVol.

References Sphere::Center(), isIn(), m_planes, and Sphere::Radius().

Here is the call graph for this function:

Member Data Documentation

vector<pair<Plane,bool> > ClippedSphereVol::m_planes
protected

Referenced by addPlane(), getClosestObjects(), and isIn().


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