GenGeo  1.1
DogBone Class Reference

#include <DogBone.h>

Inheritance diagram for DogBone:
Collaboration diagram for DogBone:

Public Member Functions

 DogBone ()
 DogBone (const Vector3 &, const Vector3 &, double, double, double, double)
virtual ~DogBone ()
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 CylinderVol
 CylinderVol ()
 CylinderVol (const Vector3 &, const Vector3 &, double, double)
virtual ~CylinderVol ()
virtual pair< Vector3, Vector3getBoundingBox ()
virtual Vector3 getAPoint (int) const
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

Torus m_tor
- Protected Attributes inherited from CylinderVol
Cylinder m_cyl
Plane m_bottom
Plane m_top
double m_len
Vector3 m_xd
Vector3 m_yd

Constructor & Destructor Documentation

DogBone::DogBone ( )
DogBone::DogBone ( const Vector3 c,
const Vector3 axis,
double  l,
double  r,
double  l2,
double  r2 
)
Parameters
cbase point
axiscentral axis
ltotal length
rtotal radius
l2length of cylindrical end pieces
r2center radius

References m_tor.

virtual DogBone::~DogBone ( )
inlinevirtual

Member Function Documentation

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

Reimplemented from CylinderVol.

References Torus::getDist(), and m_tor.

Here is the call graph for this function:

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

Reimplemented from CylinderVol.

References Torus::getDist(), and m_tor.

Referenced by isIn().

Here is the call graph for this function:

bool DogBone::isIn ( const Sphere S)
virtual

Reimplemented from CylinderVol.

References Sphere::Center(), Torus::getDist(), isIn(), m_tor, and Sphere::Radius().

Here is the call graph for this function:

Member Data Documentation

Torus DogBone::m_tor
protected

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


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