GeoPathComponent

Description

sealed class Tinman.Engine.Scenes.Data.GeoPathComponent

Derived from

IGeoPathValues

A sequence of the values of a specific component of the geo path samples, with associated timestamps.

A IGeoPath contains whole samples (latitude, longitude, height, etc.) at arbitrary timestamps. A GeoPathComponent object contains values of a specific sample component at arbitrary timestamps, which makes it possible to process geo path sample values separately. The IGeoPathValues.Values property will always return 2, where the value index 0 is GeoPathValue.Timestamp and the index 1 is the separate geo path sample value.

Public / Constructors

Geo​Path​Component


public constructor GeoPathComponent → (2)

component in : GeoPathComponentId

The value identifier.

capacity opt : int32 = 0

[>=0]
The initial capacity.

Creates a new instance of GeoPathComponent.

Public / Methods

Add


public method Add → (2)

timestamp in : float64

The timestamp value, see GeoPathValue.Timestamp.

value in : float64

The geo path sample value.

Adds the given geo path sample value.

Filter


public method Filter → (1)

filter in : IGeoPathFilter

[not-null]
The filter to apply.

returns → GeoPathComponent

The resulting container.

Applies the given filter to the geo path sample values in this container.

New


[Pure]
public method New → ()

returns → GeoPathComponent

The newly created and empty geo path component.

Creates a new geo path component using the data flag.