src/core/engines/ogl/ogl.js
/**
     * Converts a GeoPose object into East-North-Up coordinate system (local tangent plane approximation)
     * @param {*} geoPose GeoPose to convert
     * @param {*} refGeoPose reference GeoPose
     * @returns
     */
Converts a GeoPose object into East-North-Up coordinate system (local tangent plane approximation)
@param {*} geoPose GeoPose to convert
@param {*} refGeoPose reference GeoPose
@returns
Converts a GeoPose object into East - North - Up coordinate system ( local tangent plane approximation ) @param { * } geoPose GeoPose to convert @param { * } refGeoPose reference GeoPose @returns
geoPose_to_ENU(geoPose, refGeoPose) {
        let enuPosition = geodetic_to_enu(geoPose.latitude, geoPose.longitude, geoPose.ellipsoidHeight,
                        refGeoPose.latitude, refGeoPose.longitude, refGeoPose.ellipsoidHeight);
        let enuPose = new Transform();
        enuPose.position.set(enuPosition.x, enuPosition.y, enuPosition.z);
        enuPose.quaternion.set(geoPose.quaternion.x, geoPose.quaternion.y, geoPose.quaternion.z, geoPose.quaternion.w);
        enuPose.updateMatrix();
        return enuPose;
    }
geoPose_to_ENU ( geoPose , refGeoPose ) { let enuPosition = geodetic_to_enu ( geoPose . latitude , geoPose . longitude , geoPose . ellipsoidHeight , refGeoPose . latitude , refGeoPose . longitude , refGeoPose . ellipsoidHeight ) ; let enuPose = new Transform ( ) ; enuPose . position . set ( enuPosition . x , enuPosition . y , enuPosition . z ) ; enuPose . quaternion . set ( geoPose . quaternion . x , geoPose . quaternion . y , geoPose . quaternion . z , geoPose . quaternion . w ) ; enuPose . updateMatrix ( ) ; return enuPose ; }
Converts a GeoPose object into East-North-Up coordinate system (local tangent plane approximation)
 @param {*} geoPose GeoPose to convert
 @param {*} refGeoPose reference GeoPose
 @returns
Converts a GeoPose object into East - North - Up coordinate system ( local tangent plane approximation ) @param { * } geoPose GeoPose to convert @param { * } refGeoPose reference GeoPose @returns