Commit 0da5ee86 authored by Dennis Gläser's avatar Dennis Gläser
Browse files

[box] add protected setters for coordinates

parent 3856cc1b
......@@ -205,6 +205,16 @@ public:
return contains(p, eps);
}
protected:
//! Setter functions for updating coordinates
void setXMin(ctype val) { xMin_ = val; }
void setYMin(ctype val) { yMin_ = val; }
void setZMin(ctype val) { zMin_ = val; }
void setXMax(ctype val) { xMax_ = val; }
void setYMax(ctype val) { yMax_ = val; }
void setZMax(ctype val) { zMax_ = val; }
private:
ctype xMin_; ctype xMax_;
ctype yMin_; ctype yMax_;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment