예제 #1
0
        public static double Acceleration(Segment s1, Segment s2, bool flatEarth = false)
        {
            if (flatEarth)
                return Acceleration(s1.FlatEarthVelocity, s2.FlatEarthVelocity, s2.Time);

            return Acceleration(s1.Velocity, s2.Velocity, s2.Time);
        }
예제 #2
0
 public static double VerticalAcceleration(Segment s1, Segment s2)
 {
     return Acceleration(s1.VerticalVelocity, s2.VerticalVelocity, s2.Time);
 }
예제 #3
0
 public static double FlatEarthAcceleration(Segment s1, Segment s2)
 {
     return Acceleration(s1.FlatEarthVelocity, s2.FlatEarthVelocity, s2.Time);
 }