/// <summary> /// Convert a Vector3 with a given UTM Zone to a <see cref="UTMPoint"/> /// </summary> /// <returns>The utm.</returns> /// <param name="value"> Value.</param> /// <param name="donatedZone">Donated zone.</param> public static UTMPoint ToUTM(this Vector3 value, int donatedZone, UTMPoint.GlobeHemisphere hemisphere) { return(new UTMPoint(value.x, value.z, value.y, donatedZone, hemisphere)); }
/// <summary> /// Convert a Vector3 with a given UTM Zone to a <see cref="UTMPoint"/> /// </summary> /// <returns>The utm.</returns> /// <param name="v"> Value.</param> /// <param name="donatedZone">Donated zone.</param> public static UTMPoint ToUTM(this Vector3 v, int donatedZone, UTMPoint.GlobeHemisphere hemisphere) { return(new UTMPoint(v.X, v.Z, v.Y, donatedZone, hemisphere)); }