Add a method to return pointer to data array.
This commit is contained in:
parent
1e606bc183
commit
08a3420b56
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ public:
|
|||
double& operator [] ( int i); // indexing
|
||||
double operator[] (int i) const; // read-only indexing
|
||||
|
||||
inline const double *get_n() const { return n; };
|
||||
double x() const; // cartesian x
|
||||
double y() const; // cartesian y
|
||||
double z() const; // cartesian z
|
||||
|
|
Loading…
Add table
Reference in a new issue