IGeoPathConverter

Description

interface Tinman.Engine.Scenes.Data.IGeoPathConverter
<TSource val>
<TTarget val>

Extended by

GeoPathConverter sealed

A converter between geo path sample types.

A geo path converter manipulates existing geo path samples individually, without changing their timestamps and neither adding nor removing samples. It can be used to convert between different sample types as well as different horizontal and/or vertical datums. Initially, a geo path converter uses GeodeticDatum.WGS84 and does not have any information about the geoid / DEM, using ellipsoid height for vertical coordinates. The Transform methods must be used to provide this information.

See also

DataUtil

Public / Methods

Convert​Path


public method ConvertPath → (1)

path in : IGeoPath<TSource>

[not-null]
The geo path to convert.

returns → IGeoPath<TTarget>

The converted geo path.

Converts the given geo path.

Convert​Sample


[Pure]
public method ConvertSample → (1)

sample in : TSource

The geo path sample to convert.

returns → TTarget

The converted geo path sample.

Converts the given geo path sample.

Transform

2 overloads


[Pure]
public method Transform1 → (2)

geocentric in : Geocentric

[not-null]
The geocentric frame.

which opt : int32 = 0

Chooses for which geo path to set the geocentric frame:
< 0 : set for the source geo path,
= 0 : set for both geo paths,
> 0 : set for the target geo path

returns → IGeoPathConverter<TSource, TTarget>

The resulting geo path converter.

Specifies the geocentric frame for the source and/or target geo paths.

The default source and target geocentric frames is GeodeticDatum.WGS84.

See also

Geocentric.For1


[Pure]
public method Transform2 → (1)

transform in : IDatumTransform

The datum transformation to use or null for none.

returns → IGeoPathConverter<TSource, TTarget>

The resulting geo path converter.

Specifies the datum transformation to use.

The default datum transformation is null.