AsterixDisplayAnalyser.GeodeticMeasurement.GeodeticMeasurement C# (CSharp) Метод

GeodeticMeasurement() публичный Метод

Creates a new instance of GeodeticMeasurement.
public GeodeticMeasurement ( GeodeticCurve averageCurve, double elevationChange ) : System
averageCurve GeodeticCurve the geodetic curve as measured at the average elevation between two points
elevationChange double the change in elevation, in meters, going from the starting point to the ending point
Результат System
        public GeodeticMeasurement(GeodeticCurve averageCurve, double elevationChange)
        {
            double ellDist = averageCurve.EllipsoidalDistance;

            mCurve = averageCurve;
            mElevationChange = elevationChange;
            mP2P = Math.Sqrt(ellDist * ellDist + mElevationChange * mElevationChange);
        }