From 8f4f41dc8727baade565e89373f82dd037db77b9 Mon Sep 17 00:00:00 2001 From: divaldo Date: Mon, 2 Jul 2018 23:53:27 +0200 Subject: [PATCH] Update 'README.md' --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index 2ed1f30..8e16ee1 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,32 @@ Throws error if the index is incorrect in the file. ## Public functions +Returns with a vector which contains the dimension (X, Y, Z): + +``` +std::vector GetDimension(); +``` + +Returns with a vector which contains N (X, Y, Z): + +``` +std::vector GetVoxel(); +``` + +Get/Set the energy: + +``` +double GetEnergy(); +void SetEnergy(double); +``` + +Get/Set the shape: + +``` +double GetShape(); +void SetShape(double); +``` + Returns with the material form the list by it's index (returns -1 if the index is out of range): ```