1 #include "gearimpl/LayerLayoutImpl.h"
12 if( _vec.size() == 0 ) {
18 l.Distance = _vec.back().Distance + _vec.back().Thickness ;
21 l.Thickness = thickness ;
22 l.AbsorberThickness = absorberThickness ;
23 l.CellSize0 = cellSize0 ;
24 l.CellSize1 = cellSize1 ;
34 l.Distance = distance ;
35 l.Thickness = thickness ;
36 l.AbsorberThickness = absorberThickness ;
37 l.CellSize0 = cellSize0 ;
38 l.CellSize1 = cellSize1 ;
virtual void positionLayer(double distance, double thickness, double cellSize0, double cellSize1, double absorberThickness=0.)
Position new layer at the given distance (after the last layer) - typically this will be used for the...
Helper class for layer properties.
virtual void addLayer(double thickness, double cellSize0, double cellSize1, double absorberThickness=0.)
Add a new layer right after the last layer - at distance 0.