Chaste
Release::2018.1
|
#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 197 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 131 of file ChastePoint.cpp.
double ChastePoint< 0 >::operator[] | ( | unsigned | i | ) | const |
i | the index of the vector to return |
Definition at line 135 of file ChastePoint.cpp.
References EXCEPTION.