#include <ChastePoint.hpp>
Public Member Functions | |
| ChastePoint (double v1=0, double v2=0, double v3=0) | |
| double | operator[] (unsigned i) const |
A zero-dimensional ChastePoint class. We need to specialise the entire class to avoid nonsense methods that don't make sense for 0d.
Definition at line 185 of file ChastePoint.hpp.
| ChastePoint< 0 >::ChastePoint | ( | double | v1 = 0, |
|
| double | v2 = 0, |
|||
| double | v3 = 0 | |||
| ) |
Create a zero-dimensional Point object. There are 3 optional arguments, which should not be used.
| v1 | the point's x-coordinate (defaults to 0) | |
| v2 | the point's y-coordinate (defaults to 0) | |
| v3 | the point's z-coordinate (defaults to 0) |
Definition at line 118 of file ChastePoint.cpp.
| double ChastePoint< 0 >::operator[] | ( | unsigned | i | ) | const |
Access the vector mLocation. Actually raises an exception, since a 0d point has no location.
| i | the index of the vector to return |
Definition at line 122 of file ChastePoint.cpp.
References EXCEPTION.
1.6.3