Ejemplo n.º 1
0
        private static Transmitter[] CreateSourceTransmitters(decimal thickness, params SourceLayer[] srcLayers)
        {
            var transmitters = new List <Transmitter>();

            for (int i = 0; i < srcLayers.Length; i++)
            {
                transmitters.Add(Transmitter.NewVolumetric(srcLayers[i].Z - thickness / 2, thickness, i));
            }

            return(transmitters.ToArray());
        }
Ejemplo n.º 2
0
        private static Transmitter[] CreateAnomalyTransmitters(IAnomaly anomaly)
        {
            var transmitters = new List <Transmitter>();

            for (int i = 0; i < anomaly.Layers.Count; i++)
            {
                var al = anomaly.Layers[i];
                transmitters.Add(Transmitter.NewVolumetric(al.Depth, al.Thickness, i));
            }

            return(transmitters.ToArray());
        }