Exemple #1
0
        private List <TrajectoryStation> CreateTrajectoryStations(int numStations, LengthUom uom, string datum)
        {
            var trajectoryStations = new List <TrajectoryStation>();

            for (var i = 0; i < numStations; i++)
            {
                trajectoryStations.Add(CreateTrajectoryStation($"TrajStation-{i}", uom, datum, i));
            }

            return(trajectoryStations);
        }
Exemple #2
0
 private TrajectoryStation CreateTrajectoryStation(string uid, LengthUom uom, string datum, double value)
 {
     return(new TrajectoryStation()
     {
         Uid = uid,
         MD = new MeasuredDepthCoord()
         {
             Datum = datum, Uom = uom, Value = value
         },
         Incl = new PlaneAngleMeasure()
         {
             Uom = PlaneAngleUom.rad, Value = 0.005
         },
         Azi = new PlaneAngleMeasure()
         {
             Uom = PlaneAngleUom.rad, Value = 0.002
         },
         TypeTrajStation = TrajStationType.MDINCLandAZI
     });
 }