Exemplo n.º 1
0
        /// <summary>
        /// Convert a point on the surface of the ellipsoid into the Geodetic surface normal at that point
        /// </summary>
        DVec3 GeodeticSurfaceNormal(DVec3 P)
        {
            DVec3 Normal = new DVec3(P.x * ra2, P.y * rb2, P.z * rc2);

            Normal = DVec3.normalize(Normal);
            return(Normal);
        }