AsterixDisplayAnalyser.GeodeticMeasurement.GeodeticMeasurement C# (CSharp) Method

GeodeticMeasurement() public method

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
return System
        public GeodeticMeasurement(GeodeticCurve averageCurve, double elevationChange)
        {
            double ellDist = averageCurve.EllipsoidalDistance;

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