Exemplo n.º 1
0
        public SLaser(SLaserParameters laserParams, TargetVelFunc targetVelFunc=null)
        {
            this.parameters = laserParams;
            this._localIntensityEnvelope = laserParams.intensityEnvelope.Clone();
            this.targetVelFunc = targetVelFunc;

            _beams = new SLaserBeam[parameters.numBeams];
            for (int i = 0; i < parameters.numBeams; ++i) {
                _beams[i] = new SLaserBeam(this, i);
            }
        }
Exemplo n.º 2
0
        public SLaser(SLaserParameters laserParams, TargetVelFunc targetVelFunc = null)
        {
            this.parameters = laserParams;
            this._localIntensityEnvelope = laserParams.intensityEnvelope.Clone();
            this.targetVelFunc           = targetVelFunc;

            _beams = new SLaserBeam[parameters.numBeams];
            for (int i = 0; i < parameters.numBeams; ++i)
            {
                _beams[i] = new SLaserBeam(this, i);
            }
        }