GenGeo  1.1
CylinderWithJointSet Class Reference

#include <CylinderWithJointSet.h>

Inheritance diagram for CylinderWithJointSet:
Collaboration diagram for CylinderWithJointSet:

Public Member Functions

 CylinderWithJointSet ()
 CylinderWithJointSet (const Vector3 &, const Vector3 &, double, double)
virtual ~CylinderWithJointSet ()
virtual const map< double,
const AGeometricObject * > 
getClosestObjects (const Vector3 &, int) const
void addJoints (const TriPatchSet &)
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 isIn (const Vector3 &) 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

vector< Triangle3Dm_joints
- Protected Attributes inherited from CylinderVol
Cylinder m_cyl
Plane m_bottom
Plane m_top
double m_len
Vector3 m_xd
Vector3 m_yd

Friends

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

Constructor & Destructor Documentation

CylinderWithJointSet::CylinderWithJointSet ( )
CylinderWithJointSet::CylinderWithJointSet ( const Vector3 c,
const Vector3 axis,
double  l,
double  r 
)
virtual CylinderWithJointSet::~CylinderWithJointSet ( )
inlinevirtual

Member Function Documentation

void CylinderWithJointSet::addJoints ( const TriPatchSet t)

References m_joints, TriPatchSet::triangles_begin(), and TriPatchSet::triangles_end().

Referenced by exportCylinderWithJointSet().

Here is the call graph for this function:

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

Reimplemented from CylinderVol.

References Cylinder::getDist(), Plane::getDist(), CylinderVol::m_bottom, CylinderVol::m_cyl, m_joints, and CylinderVol::m_top.

Here is the call graph for this function:

bool CylinderWithJointSet::isIn ( const Sphere S)
virtual

Reimplemented from CylinderVol.

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

Here is the call graph for this function:

Friends And Related Function Documentation

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

Member Data Documentation

vector<Triangle3D> CylinderWithJointSet::m_joints
protected

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


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