GroundPathSample

Description

struct Tinman.Engine.Scenes.Data.GroundPathSample

A sample of a ground path.

A default geo path sample type. The corresponding type trait is implemented by GroundPathSampleTrait.

Public / Constructors

From


[Pure]
public static method From → (4)

timestamp in : float64

The timestamp value (see Timestamp).

latLonHeight in : LatLonHeight

The coordinates (see IGeoPathBase.LatLonHeightAt).

yaw in : float64

See Yaw.

geocentric in : Geocentric

[not-null]
The geocentric frame to use.

returns → GroundPathSample

The ground path sample.

Creates a new instance of GroundPathSample.

Ground​Path​Sample


public constructor GroundPathSample → (5)

timestamp in : float64

See Timestamp.

latitude in : float64

See Latitude.

longitude in : float64

See Longitude.

height opt : float64 = 0

See Height.

yaw opt : float64 = 0

See Yaw.

Creates a new instance of GroundPathSample.

Public / Methods

Set​Height


[Pure]
public method SetHeight → (1)

height in : float64

The new value.

returns → GroundPathSample

The resulting GroundPathSample value.

Updates Height.

Set​Latitude​Longitude


[Pure]
public method SetLatitudeLongitude → (2)

latitude in : float64

The new value.

longitude in : float64

The new value.

returns → GroundPathSample

The resulting GroundPathSample value.

Updates Latitude and Longitude.

Set​Timestamp


[Pure]
public method SetTimestamp → (1)

timestamp in : float64

The new value.

returns → GroundPathSample

The resulting GroundPathSample value.

Updates Timestamp.

Set​Yaw​Pitch​Roll


[Pure]
public method SetYawPitchRoll → (1)

yaw in : float64

The new value.

returns → GroundPathSample

The resulting GroundPathSample value.

Updates Yaw.

Public / Attributes

Height


public readonly attribute Height → (float64)

Height above the ground surface, in metres.

Latitude


public readonly attribute Latitude → (float64)

The latitude angle, in the range [-90..90] degrees, interpreted according to IGeoPathBase.Datum.

Longitude


public readonly attribute Longitude → (float64)

The longitude angle, in the range [-180..180[ degrees, interpreted according to IGeoPathBase.Datum.

Timestamp


public readonly attribute Timestamp → (float64)

The timestamp in milli-seconds, usually relative to 1900-01-01 00:00:00.000 UTC.

Yaw


public readonly attribute Yaw → (float64)

The heading angle towards the geographic North Pole, in the range [-180..180[ degrees.

See also

GeoPathValue.Yaw