volume.hpp
Go to the documentation of this file.
19// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
Definition: volume.hpp:31 double GetBotZMin(size_t nx, size_t ny) const void SetAngle(double angle) double GetZMin(size_t nx, size_t ny) const Get extreme values of z for volume, with nx, ny resolution. Volume(const Volume &volume) void LocalToGlobalCoord(double local_x, double local_y, double &global_x, double &global_y) const double GetZMax(size_t nx, size_t ny) const void WriteVolumeToFile(std::ofstream &file, const std::string &filename, bool remove_path=true) const Reader and writer on storm-format. double GetTopZMin(size_t nx, size_t ny) const Get z-range for top and bottom surfaces, with nx, ny resolution. void SetDimensions(double x_min, double y_min, double lx, double ly) bool CheckSurface(const Surface< double > &surface) const Checks if surface covers the whole volume. const Surface< double > & GetBotSurface() const Definition: volume.hpp:93 double GetBotZMax(size_t nx, size_t ny) const Volume(double x_min, double y_min, double lx, double ly, const Surface< double > &top, const Surface< double > &bot, double angle) Constructor with surfaces. void GetXYFromRelative(double rel_x, double rel_y, double &x, double &y) const rel_x and rel_y in [0,1]. Definition: volume.hpp:70 virtual ~Volume() void SetSurfaces(const Surface< double > &top_surf, const Surface< double > &bot_surf, bool skip_check=true) Set surfaces. void ReadVolumeFromFile(std::ifstream &file, int line, const std::string &path) bool IsInsideZTolerance(double x, double y, double z, double tolerance) const void GlobalToLocalCoord(double global_x, double global_y, double &local_x, double &local_y) const The local coorinates are (0,0) in (x_min, y_min), and have the same orientation as the volume. const Surface< double > & GetTopSurface() const Definition: volume.hpp:92 int IsInsideTolerance(double x, double y) const double GetTopZMax(size_t nx, size_t ny) const bool IsInside(double x, double y, double z) const Volume(double x_min, double y_min, double z_min, double lx, double ly, double lz, double angle) Volume() int IsInside(double x, double y) const void FindCenter(double &x, double &y, double &z) const Volume & operator=(const Volume &rhs) Definition: exception.hpp:31 x y t t *t x y t t t x y t t t x *y t *t t x *y t *t t x y t t t x y t t t x(y+z) |