/// <summary> /// Construct an IntegratedNoiseModel /// </summary> /// <param name="trajectory">The trajectory for which the aircraft noise will be calculated</param> /// <param name="aircraft"></param> public IntegratedNoiseModel(Trajectory trajectory, Aircraft aircraft) { CellSize = 125; IntegrateToCurrentPosition = false; _gridName = "Grid2D"; NoiseMetric = 1; ReferencePoint = new ReferencePointRD(); TrajectoryBound = 5000; _trajectory = trajectory; _aircraft = aircraft; }
/// <summary> /// Construct a Grid /// </summary> /// <param name="data"></param> public Grid(double[][] data, Point3D lowerLeftCorner, int cellSize, bool calculateContours = true) { LowerLeftCorner = lowerLeftCorner; CellSize = cellSize; Data = data; Converter = new MetricToGeographic(ReferencePoint); ReferencePoint = new ReferencePointRD(); if (calculateContours) { CalculateContours(); } }