diff options
Diffstat (limited to 'src/patch/coords.hh')
-rw-r--r-- | src/patch/coords.hh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/patch/coords.hh b/src/patch/coords.hh index e6ca9bd..f362474 100644 --- a/src/patch/coords.hh +++ b/src/patch/coords.hh @@ -278,6 +278,11 @@ public: fp origin_y() const { return origin_y_; } fp origin_z() const { return origin_z_; } + // set global (x,y,z) coordinates of local origin point + void origin_x(const fp x) { origin_x_=x; } + void origin_y(const fp y) { origin_y_=y; } + void origin_z(const fp z) { origin_z_=z; } + // radius of given (x,y,z) with respect to local origin point #ifdef NOT_USED fp radius_of_local_xyz(fp local_x, fp local_y, fp local_z) const |