ChasteCuboid Class Reference

#include <ChasteCuboid.hpp>

Collaboration diagram for ChasteCuboid:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ChasteCuboid (ChastePoint< 3 > &rPointA, ChastePoint< 3 > &rPointB)
bool DoesContain (const ChastePoint< 3U > &rPointToCheck)
bool DoesContain (const ChastePoint< 2U > &rPointToCheck)
bool DoesContain (const ChastePoint< 1U > &rPointToCheck)

Private Attributes

ChastePoint< 3 > mrPointA
ChastePoint< 3 > mrPointB


Detailed Description

This class defines a 3D cuboid and provides a method to check if a given point is contained in the volume.

Definition at line 39 of file ChasteCuboid.hpp.


Constructor & Destructor Documentation

ChasteCuboid::ChasteCuboid ( ChastePoint< 3 > &  rPointA,
ChastePoint< 3 > &  rPointB 
)

The cuboid is defined by any of its two space-diagonal opposite corners.

Parameters:
rPointA Any vertex of the cuboid.
rPointB The space-diagonal opposite corner of pointA.

Definition at line 31 of file ChasteCuboid.cpp.


Member Function Documentation

bool ChasteCuboid::DoesContain ( const ChastePoint< 3U > &  rPointToCheck  ) 

Checks if a given point is contained in the cuboid.

Parameters:
rPointToCheck Point to be checked to be contained in the cuboid.
Todo:
: use a templated definition of the method

Definition at line 42 of file ChasteCuboid.cpp.


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

Generated on Wed Mar 18 12:52:25 2009 for Chaste by  doxygen 1.5.5