Class ZOEarthUtils
Inheritance
System.Object
ZOEarthUtils
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Unity.ZeroSim.dll
Syntax
public static class ZOEarthUtils
Fields
|
Improve this Doc
View Source
DistanceFromSun
Declaration
public static double DistanceFromSun
Field Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
EARTH_RADIUS
Declaration
public static float EARTH_RADIUS
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Gravity
Declaration
public static float Gravity
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MagPoleLat
Declaration
public static double MagPoleLat
Field Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
MagPoleLon
Declaration
public static double MagPoleLon
Field Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
MeanMagField
Declaration
public static double MeanMagField
Field Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
Obliquity
Declaration
public static float Obliquity
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Perihelion
Declaration
public static double Perihelion
Field Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
Radius
Declaration
public static float Radius
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
SeaLevelAirDensity
Declaration
public static float SeaLevelAirDensity
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
SeaLevelPressure
Declaration
public static float SeaLevelPressure
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
SpeedOfLight
Declaration
public static float SpeedOfLight
Field Value
Type |
Description |
System.Single |
|
Methods
|
Improve this Doc
View Source
GeodeticToNedFast(ZOEarthUtils.GeoPoint, ZOEarthUtils.GeoPoint)
Declaration
public static Vector3 GeodeticToNedFast(ZOEarthUtils.GeoPoint geo, ZOEarthUtils.GeoPoint home)
Parameters
Returns
Type |
Description |
UnityEngine.Vector3 |
|
|
Improve this Doc
View Source
GetAirDensity(Single)
Declaration
public static float GetAirDensity(float altitude)
Parameters
Type |
Name |
Description |
System.Single |
altitude |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetAirDensity(Single, Single)
Declaration
public static float GetAirDensity(float std_pressure, float std_temperature)
Parameters
Type |
Name |
Description |
System.Single |
std_pressure |
|
System.Single |
std_temperature |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetGeopotential(Single)
Declaration
public static float GetGeopotential(float altitude_km)
Parameters
Type |
Name |
Description |
System.Single |
altitude_km |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetGravity(Single)
Declaration
public static float GetGravity(float altitude)
Parameters
Type |
Name |
Description |
System.Single |
altitude |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetMagDeclination(Single, Single)
Declaration
public static float GetMagDeclination(float latitude, float longitude)
Parameters
Type |
Name |
Description |
System.Single |
latitude |
|
System.Single |
longitude |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetMagField(ZOEarthUtils.GeoPoint)
Declaration
public static Vector3 GetMagField(ZOEarthUtils.GeoPoint geo_point)
Parameters
Returns
Type |
Description |
UnityEngine.Vector3 |
|
|
Improve this Doc
View Source
GetMagField(ZOEarthUtils.GeoPoint, Double, Double)
Declaration
public static Vector3 GetMagField(ZOEarthUtils.GeoPoint geo_point, double declination = 0, double inclination = 0)
Parameters
Type |
Name |
Description |
ZOEarthUtils.GeoPoint |
geo_point |
|
System.Double |
declination |
|
System.Double |
inclination |
|
Returns
Type |
Description |
UnityEngine.Vector3 |
|
|
Improve this Doc
View Source
GetSpeedofSound(Single)
Declaration
public static float GetSpeedofSound(float altitude)
Parameters
Type |
Name |
Description |
System.Single |
altitude |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
getStandardPressure(Single)
Declaration
public static float getStandardPressure(float altitude)
Parameters
Type |
Name |
Description |
System.Single |
altitude |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetStandardPressure(Single, Single)
Declaration
public static float GetStandardPressure(float geopot_height, float std_temperature)
Parameters
Type |
Name |
Description |
System.Single |
geopot_height |
|
System.Single |
std_temperature |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
GetStandardTemperature(Single)
Declaration
public static float GetStandardTemperature(float geopot_height)
Parameters
Type |
Name |
Description |
System.Single |
geopot_height |
|
Returns
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
NedToGeodetic(Vector3, ZOEarthUtils.HomeGeoPoint)
Declaration
public static ZOEarthUtils.GeoPoint NedToGeodetic(Vector3 v, ZOEarthUtils.HomeGeoPoint home_geo_point)
Parameters
Returns
|
Improve this Doc
View Source
NedToGeodeticFast(Vector3, ZOEarthUtils.GeoPoint)
Declaration
public static ZOEarthUtils.GeoPoint NedToGeodeticFast(Vector3 local, ZOEarthUtils.GeoPoint home)
Parameters
Returns