EcefHelpers (Class)
Namespace: Wrld.Common.Maths
Static methods to convert from and to lat-long-alt and ECEF world positions. These helpers are not associated with the types that encapsulate these and instead deal with individual / simple data.
Methods
DoubleVector3 LatLongAltToEcefDegrees (double latitudeInRadians, double longitudeInRadians, double altitudeInMeters)
Converts latitude, longitude and altitude into a world ECEF position.
Argument | Type | Description |
---|---|---|
latitudeInRadians | double | Latitude in radians. |
longitudeInRadians | double | Longitude in radians. |
altitudeInMeters | double | Altitude in meters. |
EcefTangentBasis EcefTangentBasisFromPointAndHeading (DoubleVector3 worldPointEcef, float absoluteHeadingDegrees)
Converts an ECEF world position and a heading (direction you are facing) into a tangent basis at that point, which can further be used to make calculations in that tangent space.
Argument | Type | Description |
---|---|---|
worldPointEcef | DoubleVector3 | World position in the ECEF system. |
absoluteHeadingDegrees | float | Absolute heading in degrees. |
v0.8.203
- Inspector
- Api
- CameraApi
- BuildingsApi
- BuildingHighlight
- BuildingHighlightHeightRange
- BuildingHighlightOptions
- BuildingInformation
- BuildingDimensions
- BuildingContour
- IndoorMapsApi
- IndoorMap
- IIndoorMapMaterialFactory
- IIndoorMapTextureFetcher
- IIndoorMapMaterial
- IndoorMaterialDescriptor
- IndoorMapRenderable
- IndoorMapHighlightRenderable
- InstancedIndoorMapRenderable
- IndoorMapEntitiesClicked
- IndoorMapEntityInformationApi
- IndoorMapEntity
- IndoorMapEntityInformation
- IndoorMapEntityLoadState
- PositionerApi
- Positioner
- PositionerOptions
- ElevationMode
- GeographicApi
- GeographicTransform
- SpacesApi
- TransportApi
- TransportApiExtensions
- TransportCellKey
- TransportDirectedEdge
- TransportDirectedEdgeId
- TransportGraph
- TransportNetworkType
- TransportNode
- TransportNodeId
- TransportPathfindOptions
- TransportPathfindOptionsBuilder
- TransportPathfindResult
- TransportPositioner
- TransportPositionerOptions
- TransportPositionerOptionsBuilder
- TransportPositionerPointOnGraph
- TransportWay
- TransportWayDirection
- TransportWayId
- PathApi
- PointOnPath
Wrld Map
Api
Camera
Buildings
Indoor Maps
Indoor Map Entities
Positioning
Transport
Paths
Wrld Map
Inspector