Update 'README.md'
This commit is contained in:
		
							parent
							
								
									f497783aae
								
							
						
					
					
						commit
						8f4f41dc87
					
				
							
								
								
									
										26
									
								
								README.md
								
								
								
								
							
							
						
						
									
										26
									
								
								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<double> GetDimension();
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
Returns with a vector which contains N (X, Y, Z):
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
std::vector<double> 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): 
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue